ab7dddff1eac1520704b86e2305ea3c49d2a3c04,tensorflow_transform/tf_utils_test.py,,,#,39
Before Change
self._shape = shape
self._dtype = dtype
if not hasattr(tf, "SparseTensorSpec"):
tf.SparseTensorSpec = _SparseTensorSpec
class TFUtilsTest(test_case.TransformTestCase):
def _assertCompositeRefEqual(self, left, right):
Asserts that a two `tf_util._CompositeTensorRef`s are equal.
After Change
from tensorflow.python.framework import composite_tensor // pylint: disable=g-direct-tensorflow-import
_CONSTRUCT_TABLE_PARAMETERS = [
dict(testcase_name="_string", asset_path_input_fn=lambda x: x),
dict(testcase_name="_string_tensor", asset_path_input_fn=tf.constant),
dict(
testcase_name="_saved_model_asset",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tensorflow/transform
Commit Name: ab7dddff1eac1520704b86e2305ea3c49d2a3c04
Time: 2020-11-30
Author: varshaan@google.com
File Name: tensorflow_transform/tf_utils_test.py
Class Name:
Method Name:
Project Name: sahana/eden
Commit Name: 247ca1182c954505af528cc3673ed6d55cbd1a7c
Time: 2020-01-06
Author: dominic@nursix.org
File Name: modules/geojson/mapping.py
Class Name:
Method Name: to_mapping
Project Name: brian-team/brian2
Commit Name: 89d9e6f48e2a21867a7ffbe91182c6bd99b59654
Time: 2015-11-16
Author: marcel.stimberg@inserm.fr
File Name: brian2/core/namespace.py
Class Name:
Method Name: get_local_namespace