Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 43 of 43 for 40x10xf32 (0.1 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    //                   (tensor<4x1xf32>, tensor<4x2xf32>, tensor<4x3xf32>)
    //
    // We will generate slices following slices:
    // %0 = "mhlo.slice"(%input) {
    //        limit_indices = dense<[4, 1]> : tensor<2xi64>,
    //        start_indices = dense<0> : tensor<2xi64>,
    //        strides = dense<1> : tensor<2xi64>} :
    //        (tensor<4x6xf32>) -> tensor<4x1xf32>
    // %1 = "mhlo.slice"(%input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        func.return %2 : tensor<1xi32>
      }
    
      // CHECK-LABEL: func @tensor_cast_partial_infer
      func.func @tensor_cast_partial_infer(%arg0: tensor<?x10xi32>) -> tensor<10x?xi32> {
       // CHECK: return {{.*}} : tensor<10x10xi32>
        %2 = tensor.cast %arg0 : tensor<?x10xi32> to tensor<10x?xi32>
        func.return %2 : tensor<10x?xi32>
      }
    
      // CHECK-LABEL: operand_pack_unranked
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. 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)
Back to top