Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestAsyncIdentity (0.16 sec)

  1. tensorflow/compiler/mlir/tfrt/test_opkernels.cc

    #include "tensorflow/core/framework/common_shape_fns.h"
    #include "tensorflow/core/framework/op.h"
    #include "tensorflow/core/framework/op_kernel.h"
    
    namespace tensorflow {
    namespace tf_mlrt {
    
    REGISTER_OP("TestAsyncIdentity")
        .Input("in: T")
        .Output("out: T")
        .Attr(
            "T: {bfloat16, half, float, double, uint8, int8, int16, uint32, int32, "
            "int64, complex64, complex128}")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

    // Test lowering AsyncOpKernel
    
    // CHECK-LABEL: func @main
    func.func @main(%x: tensor<i32>) -> (tensor<i32>, tensor<i32>, tensor<i32>) {
      // CHECK: [[y_future:%.*]] = tf_mlrt.async_executeop
      %y = "tf.TestAsyncIdentity"(%x) {__op_key = 0: i32, T = i32} : (tensor<i32>) -> tensor<i32>
      // CHECK: [[z:%.*]] = tf_mlrt.executeop
      %z = "tf.Identity"(%x) {__op_key = 1: i32}: (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top