96e4af6e86e93da021c29a4273dcdfaeab8fdfcf,tensorflow_transform/analyzers.py,Analyzer,__init__,#Analyzer#Any#Any#Any#,55
Before Change
if not isinstance(tensor, tf.Tensor):
raise ValueError("Analyzers can only accept `Tensor`s as inputs")
self._inputs = inputs
self._outputs = [tf.placeholder(dtype, shape)
for dtype, shape in output_dtypes_and_shapes]
self._spec = spec
tf.add_to_collection(ANALYZER_COLLECTION, self)
After Change
raise ValueError("Analyzers can only accept `Tensor`s as inputs")
self._inputs = inputs
for output_tensor, is_asset in output_tensors_and_is_asset:
if is_asset and output_tensor.dtype != tf.string:
raise ValueError(("Tensor {} cannot represent an asset, because it is "
"not a string.").format(output_tensor.name))
self._outputs = [output_tensor
for output_tensor, _ in output_tensors_and_is_asset]
self._output_is_asset_map = dict(output_tensors_and_is_asset)
self._spec = spec
tf.add_to_collection(ANALYZER_COLLECTION, self)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: tensorflow/transform
Commit Name: 96e4af6e86e93da021c29a4273dcdfaeab8fdfcf
Time: 2017-08-07
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/analyzers.py
Class Name: Analyzer
Method Name: __init__
Project Name: tensorflow/transform
Commit Name: 998b0e8f1c3ec165fc1ca7b6421c96b1c72ec297
Time: 2018-05-30
Author: tf-transform-dev@google.com
File Name: tensorflow_transform/analyzers.py
Class Name: Analyzer
Method Name: __init__
Project Name: tensorflow/cleverhans
Commit Name: 493712d32b2b8440caea7c1b7c706ce52a3f791d
Time: 2017-09-21
Author: aurkor@google.com
File Name: cleverhans/utils.py
Class Name:
Method Name: get_logits_over_interval