Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for 1x0xf32 (0.12 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/ifrt/sink_variable_as_named_array.mlir

        %result = "tf.IfrtCall"(%arg0, %2) <{program_id = 6515870160938153680 : i64, variable_arg_indices = []}> : (tensor<1x3xf32>, tensor<3x1xf32>) -> (tensor<1x1xf32>)
        return %result, %3 : tensor<1x1xf32>, tensor<1x1xf32>
      }
    }
    
    // -----
    // Variable tensor is only for host
    //
    // CHECK-LABEL:  func.func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32> {
    // CHECK:  "tf.VarHandleOp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 15:33:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      func.return %8#2 : tensor<28x1x8xf32>
    }
    
    // CHECK-LABEL:   func @LstmWithProjection(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/ops.mlir

      func.return %24 : tensor<1x4xf32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        ```mlir
          %0 = "tf.Const"() {value = dense<[[42.0]]> : tensor<1x1xf32>} : () -> tensor<1x1xf32>
          %1 = "tf.Const"() {device = "", value = dense<[[42.0]]> : tensor<1x1xf32>} : () -> tensor<1x1xf32>
          %2 = "tf.Const"() {device = "baz", value = dense<[[42.0]]> : tensor<1x1xf32>} : () -> tensor<1x1xf32>
        ```
    
        then running this pass with 'default-device=foobar', we get:
    
        ```mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        } else {
          // Recurse on the subtypes in the variant/resource. Basically if the input
          // were:
          //   tensor<!tf_type.variant<tensor<?x8xf32>>>
          // and:
          //   tensor<!tf_type.variant<tensor<10x8xf32>>>
          // we'll try here to refine tensor<?x8xf32> with tensor<10x8xf32>.
          auto refined_subtype = mlir::cast<TensorType>(
              TypeMeet(lhs_element_type_with_subtype.GetSubtypes().front(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    mlir_module = '''python
    func @main(%arg0 : tensor<10xf32>, %arg1 : tensor<10xf32>) -> tensor<10x10xf32> {
       %add = "magic.op"(%arg0, %arg1) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10x10xf32>
       return %ret : tensor<10x10xf32>
    }
    '''
    
    @tf.function
    def foo(x, y):
      return mlir_passthrough_op([x, y], mlir_module, Toutputs=[tf.float32])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    //                (tensor<4x2xf32>, tensor<4x2xf32>, tensor<4x2xf32>)
    //
    // will be converted into:
    //
    //   %0 = "mhlo.slice"(%input) {
    //             limit_indices = dense<[4, 2]> : tensor<2xi64>,
    //             start_indices = dense<0> : tensor<2xi64>,
    //             strides = dense<1> : tensor<2xi64>} :
    //        (tensor<4x6xf32>) -> tensor<4x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top