- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReferencesParent (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/cyclic_object_graph.py
# pylint: disable=missing-docstring,line-too-long import tensorflow.compat.v2 as tf from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common class ReferencesParent(tf.Module): def __init__(self, parent): super(ReferencesParent, self).__init__() self.parent = parent # CHECK: tf_saved_model.global_tensor # CHECK-SAME: tf_saved_model.exported_names = ["child.my_variable"]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 1.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/testdata/generate_saved_models.py
tensor_spec.TensorSpec((), dtypes.float32) ]) def compute(self, a, b): return (a + self.x) * (b + self.y) / (self.child.z) + self.child.c class ReferencesParent(module.Module): def __init__(self, parent): super(ReferencesParent, self).__init__() self.parent = parent self.my_variable = variables.Variable(3., name="MyVariable") # Creates a cyclic object graph.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 18:06:18 UTC 2023 - 4.6K bytes - Viewed (0)