- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for 2xf64 (0.04 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/tests/shlo_simplify.mlir
// ----- func.func @foldDivF64() -> tensor<2xf64> { %0 = stablehlo.constant dense<[2.0, 3.0]> : tensor<2xf64> %1 = stablehlo.constant dense<[4.0, 6.0]> : tensor<2xf64> %2 = stablehlo.divide %0, %1 : tensor<2xf64> return %2 : tensor<2xf64> } // CHECK-LABEL: foldDivF64 // CHECK: stablehlo.constant dense<5.000000e-01> : tensor<2xf64> // ----- func.func @foldDivI32() -> tensor<2xi32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 03:05:20 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size_test.cc
EXPECT_THAT(num_bytes, Eq(16)); } TEST_F(GetSizeInBytesTest, Float64ConstOpSizeInBytes) { constexpr absl::string_view kConstOpExpr = R"mlir(%cst = "tf.Const"() {value = dense<3.0> : tensor<2xf64>} : () -> tensor<2xf64>)mlir"; Block block{}; TF::ConstOp int_tensor_const_op = ParseConstOp(kConstOpExpr, block, ctx_); const int64_t num_bytes = GetSizeInBytes(int_tensor_const_op); EXPECT_THAT(num_bytes, Eq(16));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:37:13 UTC 2022 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir
//CHECK-NEXT: return %0 : tensor<1x161x1xf32> //CHECK-NEXT:} func.func @convert(%arg0: tensor<2xf64>) -> tensor<2xf32> { %0 = "vhlo.convert_v1" (%arg0) : (tensor<2xf64>) -> tensor<2xf32> return %0 : tensor<2xf32> } //CHECK:func.func private @convert(%arg0: tensor<2xf64>) -> tensor<2xf32> { //CHECK-NEXT: %0 = "vhlo.convert_v1"(%arg0) : (tensor<2xf64>) -> tensor<2xf32> //CHECK-NEXT: return %0 : tensor<2xf32> //CHECK-NEXT:}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 31.9K bytes - Viewed (1) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
// CHECK-NOT: tf.BesselI0e %0 = "tf.BesselI0e"(%arg0) : (tensor<3xf16>) -> (tensor<3xf16>) %1 = "tf.BesselI0e"(%arg1) : (tensor<3xf32>) -> (tensor<3xf32>) %2 = "tf.BesselI0e"(%arg2) : (tensor<3xf64>) -> (tensor<3xf64>) func.return %0, %1, %2 : tensor<3xf16>, tensor<3xf32>, tensor<3xf64> } // CHECK-LABEL: bessel_i1e
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (1) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// CHECK: return %[[RESULT]] : tensor<1x4xi32> %starts = "tf.Const"() {value = dense<[1, 0]> : tensor<2xi64>} : () -> (tensor<2xi64>) %sizes = "tf.Const"() {value = dense<[1, 4]> : tensor<2xi64>} : () -> (tensor<2xi64>) %0 = "tf.Slice"(%arg0, %starts, %sizes) : (tensor<?x4xi32>, tensor<2xi64>, tensor<2xi64>) -> tensor<1x4xi32> func.return %0 : tensor<1x4xi32> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir
func.func @testBroadcastGradientArgI64() -> (tensor<2xi64>, tensor<0xi64>) { %s0 = "tf.Const"() {value = dense<> : tensor<0xi64>} : () -> tensor<0xi64> %s1 = "tf.Const"() {value = dense<[2, 4]> : tensor<2xi64>} : () -> tensor<2xi64> %r0, %r1 = "tf.BroadcastGradientArgs"(%s0, %s1) {} : (tensor<0xi64>, tensor<2xi64>) -> (tensor<2xi64>, tensor<0xi64>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 31 23:22:24 UTC 2024 - 36.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
} func.func @real(%arg0: tensor<1 x complex<f64>>) -> tensor<1xf64> { %0 = "tf.Real"(%arg0) : (tensor<1 x complex<f64>>) -> tensor<1xf64> func.return %0: tensor<1xf64> // CHECK-LABEL: real // CHECK: "tfl.real"(%arg0) : (tensor<1xcomplex<f64>>) -> tensor<1xf64> // CHECK: return } func.func @imag(%arg0: tensor<1 x complex<f64>>) -> tensor<1xf64> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/unroll-batch-matmul.mlir
// CHECK-DAG: %[[MATMUL_LHS_SHAPE:.*]] = "tf.Const"() <{value = dense<[4, 5]> : tensor<2xi64>}> : () -> tensor<2xi64> // CHECK-DAG: %[[MATMUL_RHS_SHAPE:.*]] = "tf.Const"() <{value = dense<[5, 6]> : tensor<2xi64>}> : () -> tensor<2xi64> // CHECK: %[[LHS_1:.*]] = "tf.Reshape"(%arg0, %[[MATMUL_LHS_SHAPE]]) : (tensor<1x4x5xf32>, tensor<2xi64>) -> tensor<4x5xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 06 18:42:28 UTC 2023 - 63.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/lift_tflite_flex_ops.mlir
func.func @TfAdd(%arg0: tensor<4xf64>, %arg1: tensor<4xf64>) -> tensor<4xf64> { %0 = "tfl.custom"(%arg0, %arg1) { custom_code = "FlexAdd", custom_option = #tfl<const_bytes : "0x03416464001412034164641A001A002A070A015412023002320000021B171414042801"> } : (tensor<4xf64>, tensor<4xf64>) -> tensor<4xf64> // CHECK: "tf.Add"(%arg0, %arg1) {T = f64} : (tensor<4xf64>, tensor<4xf64>) -> tensor<4xf64> func.return %0 : tensor<4xf64> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/flex_op_with_f64.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-select-tf-ops -o - | flatbuffer_to_string - | FileCheck %s func.func @main(tensor<4xf64>, tensor<4xf64>) -> tensor<4xf64> { ^bb0(%arg0: tensor<4xf64>, %arg1: tensor<4xf64>): // CHECK: { // CHECK-NEXT: version: 3, // CHECK-NEXT: operator_codes: [ { // CHECK-NEXT: deprecated_builtin_code: 32, // CHECK-NEXT: custom_code: "FlexAdd", // CHECK-NEXT: builtin_code: CUSTOM
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 2.3K bytes - Viewed (0)