a02e5721ab5babc58e7d41cda5c0aaafe30320d1,tensorboard/backend/event_processing/data_provider.py,MultiplexerDataProvider,read_blob,#MultiplexerDataProvider#Any#,272

Before Change



        // TODO(davidsoergel, wchargin): consider images, etc.
        if plugin_name != graphs_metadata.PLUGIN_NAME:
            logger.warn("Directory has no blob data for plugin %r", plugin_name)
            raise errors.NotFoundError()

        serialized_graph = self._multiplexer.SerializedGraph(run)

After Change


            raise errors.NotFoundError(blob_key)
        tensor_events = self._multiplexer.Tensors(run, tag)
        // In case of multiple events at this step, take first (arbitrary).
        matching_step = next((e for e in tensor_events if e.step == step), None)
        if not matching_step:
            raise errors.NotFoundError("%s: no such step %r" % (blob_key, step))
        tensor = tensor_util.make_ndarray(matching_step.tensor_proto)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: tensorflow/tensorboard
Commit Name: a02e5721ab5babc58e7d41cda5c0aaafe30320d1
Time: 2020-01-22
Author: wchargin@gmail.com
File Name: tensorboard/backend/event_processing/data_provider.py
Class Name: MultiplexerDataProvider
Method Name: read_blob


Project Name: biolab/orange3
Commit Name: 9189177f708e137ca7a1f6ccef0ad086bad04393
Time: 2014-12-23
Author: lan.zagar@fri.uni-lj.si
File Name: Orange/classification/__init__.py
Class Name: SklFitter
Method Name: __call__


Project Name: aleju/imgaug
Commit Name: 79596ae7baec0fddd9e7111cc3306102172a92cb
Time: 2019-01-05
Author: kontakt@ajung.name
File Name: imgaug/augmenters/contrast.py
Class Name: _IntensityChannelBasedApplier
Method Name: apply


Project Name: grrrr/nsgt
Commit Name: 462e9b1c4e5186b229150b49aff22ddaa66d9a9f
Time: 2012-02-05
Author: gr@grrrr.org
File Name: nsgt/nsgfwin_sl.py
Class Name:
Method Name: nsgfwin