Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for get_concrete_function (0.17 sec)

  1. RELEASE.md

            sometimes incorrectly ignored.
        *   functions returned by the `get_concrete_function` method of
            `tf.function` objects can now be called with arguments consistent with
            the original arguments or type specs passed to `get_concrete_function`.
            This calling convention is now the preferred way to use concrete
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

       return %ret : tensor<10x10xf32>
    }
    '''
    
    @tf.function
    def foo(x, y):
      return mlir_passthrough_op([x, y], mlir_module, Toutputs=[tf.float32])
    
    graph_def = foo.get_concrete_function(tf.TensorSpec([10], tf.float32), tf.TensorSpec([10], tf.float32)).graph.as_graph_def()
    ```
      }];
    
      let arguments = (ins
        Variadic<TF_Tensor>:$inputs,
    
        StrAttr:$mlir_module
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top