Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for 64x1xbf16 (0.16 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

          return %updated_list : tensor<!tf_type.variant<tensor<64x1xbf16>>>
        }
      })";
    
      auto compilation_result = CompileMlirModule(
          kTensorListSetItemDimensionTooLarge,
          ConfigProto::Experimental::MLIR_BRIDGE_ROLLOUT_UNSPECIFIED);
    
      // Ensure that it compile
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/cast_bf16.mlir

    func.func @main(tensor<4x5xbf16>) -> tensor<4x5xbf16> {
    ^bb0(%arg0: tensor<4x5xbf16>):
      // CHECK-LABEL: @main
      // CHECK:  (tensor<4x5xbf16>) -> tensor<4x5xf32>
      // CHECK-NEXT:  (tensor<4x5xf32>) -> tensor<4x5xbf16>
      %0 = "tfl.cast" (%arg0) : (tensor<4x5xbf16>) -> tensor<4x5xf32> loc("cast1")
      %1 = "tfl.cast" (%0) : (tensor<4x5xf32>) -> tensor<4x5xbf16> loc("cast2")
      func.return %1 : tensor<4x5xbf16>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 18 21:28:19 UTC 2024
    - 596 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/cast_bf16.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -o - | flatbuffer_to_string - | FileCheck %s
    
    func.func @main(tensor<4x5xbf16>) -> tensor<4x5xbf16> {
    ^bb0(%arg0: tensor<4x5xbf16>):
    
    // CHECK:  {
    // CHECK-NEXT:      version: 3,
    // CHECK-NEXT:      operator_codes: [ {
    // CHECK-NEXT:        deprecated_builtin_code: 53,
    // CHECK-NEXT:        version: 7,
    // CHECK-NEXT:        builtin_code: CAST
    // CHECK-NEXT:      } ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 18 21:28:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/ifrt/lower_to_ifrt_restore_variable.mlir

        %1 = "tf.Cast"(%0) <{truncate = false}> : (tensor<3x1xf32>) -> tensor<3x1xbf16>
        %2 = "tf.VarHandleOp"() <{container = "", shared_name = "y"}> : () -> tensor<!tf_type.resource<tensor<3x1xbf16>>>
        "tf.AssignVariableOp"(%2, %1) : (tensor<!tf_type.resource<tensor<3x1xbf16>>>, tensor<3x1xbf16>) -> ()
        return
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK: %[[RESULT:.*]] = mhlo.reshape %[[CAST_BACK]] : (tensor<4xf16>) -> tensor<4x1xf16>
      // CHECK: return %[[RESULT]] : tensor<4x1xf16>
      %dimension = "tf.Const"() { value = dense<1> : tensor<1xi64> } : () -> tensor<1xi64>
      %0 = "tf.Mean"(%arg0, %dimension) { keep_dims = true }: (tensor<4x8xf16>, tensor<1xi64>) -> tensor<4x1xf16>
      func.return %0 : tensor<4x1xf16>
    }
    
    // -----
    
    // CHECK-LABEL: func @mean_scalar_dim
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    }
    
    func.func @matmul_batchv3_unknown_dim_bf16(%arg0: tensor<?x4x5xbf16>, %arg1: tensor<5x6xf32>) -> tensor<?x4x6xbf16> {
      %0 = "tf.Cast"(%arg0) : (tensor<?x4x5xbf16>) -> tensor<?x4x5xf32>
      %1 = "tf.BatchMatMulV3"(%0, %arg1) {Ta = "tfdtype$DT_FLOAT", Tb = "tfdtype$DT_FLOAT", device = "/device:CPU:0", name = "MatMul", adj_x = false, adj_y = false} :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    // CHECK-LABEL: func @testValidMatrixBandPartOp
    func.func @testValidMatrixBandPartOp(%arg0: tensor<64x64xbf16>, %arg1: tensor<i64>, %arg2: tensor<i64>) -> tensor<64x64xbf16> {
      %0 = "tf.MatrixBandPart"(%arg0, %arg1, %arg2) : (tensor<64x64xbf16>, tensor<i64>, tensor<i64>) -> tensor<64x64xbf16>
      func.return %0 : tensor<64x64xbf16>
    }
    
    // -----
    
    // Test valid tf.MatrixBandPart
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top