- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for grad_ops (0.34 sec)
-
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
# TODO(mdan): Index more efficiently. Could do a name check instead. if any(v is value for v in AG_MODULE.__dict__.values()): return {TFRTypes.AG_BUILTIN_FUNC} if getattr(value, '__name__', None) == 'tensorflow.raw_ops': return {types.ModuleType} if hasattr(value, '__module__'): if isinstance(value, dtypes.DType): return {TFRTypes.ATTR}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
def model_fn(args): # do something with dynamic tensor @function.Defun(capture_resource_var_by_value=False) def tpu_subgraph(): return tf.tpu.rewrite(model_fn, args) return tf.raw_ops.TPUPartitionedCall( args=tpu_subgraph.captured_inputs, Tout=[o.type for o in tpu_subgraph.definition.signature.output_arg], f=tpu_subgraph, device_ordinal=[0])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0)