1780833b30d953509200bf9560be2ba42fabe9ff,tensorboard/plugins/debugger_v2/debug_data_provider.py,LocalDebuggerV2DataProvider,read_blob_sequences,#LocalDebuggerV2DataProvider#Any#Any#Any#Any#,95

Before Change


    ):
        del experiment_id, plugin_name, downsample, run_tag_filter  // Unused.
        // TODO(cais): Implement this.
        raise NotImplementedError()

    def read_blob(self, blob_key):
        del blob_key  // Unused currently.
        // TODO(cais): Implement this.

After Change


        self, experiment_id, plugin_name, downsample=None, run_tag_filter=None
    ):
        del experiment_id, downsample  // Unused.
        if plugin_name != PLUGIN_NAME:
            raise ValueError("Unsupported plugin_name: %s" % plugin_name)
        if run_tag_filter.runs is None:
            raise ValueError(
                "run_tag_filter.runs is expected to be specified, but is not."
            )
        if run_tag_filter.tags is None:
            raise ValueError(
                "run_tag_filter.tags is expected to be specified, but is not."
            )

        output = dict()
        existing_runs = self._multiplexer.Runs()
        for run in run_tag_filter.runs:
            if run not in existing_runs:
                continue
            output[run] = dict()
            for tag in run_tag_filter.tags:
                if tag.startswith(EXECUTION_DIGESTS_BLOB_TAG_PREFIX):
                    output[run][tag] = [
                        provider.BlobReference(blob_key="%s.%s" % (tag, run))
                    ]
        return output

    def read_blob(self, blob_key):
        if blob_key.startswith(EXECUTION_DIGESTS_BLOB_TAG_PREFIX):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: tensorflow/tensorboard
Commit Name: 1780833b30d953509200bf9560be2ba42fabe9ff
Time: 2020-01-06
Author: cais@google.com
File Name: tensorboard/plugins/debugger_v2/debug_data_provider.py
Class Name: LocalDebuggerV2DataProvider
Method Name: read_blob_sequences


Project Name: scikit-learn/scikit-learn
Commit Name: 670b85c9e9cec05210e8596bc1fb9ca66787162f
Time: 2020-04-19
Author: 50599110+lrjball@users.noreply.github.com
File Name: sklearn/compose/_column_transformer.py
Class Name: ColumnTransformer
Method Name: get_feature_names


Project Name: stanfordnlp/stanza
Commit Name: 1f3006445eb4570231e1591c6021ea7091c9c8d7
Time: 2018-08-28
Author: qipeng@users.noreply.github.com
File Name: models/common/vocab.py
Class Name: CompositeVocab
Method Name: id2unit