Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _override_test_attr_op (0.34 sec)

  1. tensorflow/compiler/mlir/tfr/examples/customization/ops_defs.py

    
    # The original kernel is defined in 'tensorflow/python/framework/ops_test.py'
    # and prints out the current graph def version.
    @Composite('TestAttr')
    def _override_test_attr_op():
      ret = array_ops.Const(value=100.0, dtype=dtypes.float32)
      return ret
    
    
    def main(_):
      if FLAGS.gen_register_op:
        assert FLAGS.output.endswith('.cc')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top