Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 226 for f32 (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/call_to_exported.py

      #
      # CHECK:      func {{@[a-zA-Z_0-9]+}}(
      # CHECK-SAME:   %arg0: tensor<f32> {tf._user_specified_name = "x", tf_saved_model.index_path = [0]},
      # CHECK-SAME:   %arg1: tensor<!tf_type.resource<{{.*}}>>
      # CHECK-SAME: ) -> (
      # CHECK-SAME:   tensor<f32> {tf_saved_model.index_path = [0]},
      # CHECK-SAME:   tensor<f32> {tf_saved_model.index_path = [1]})
      # CHECK-SAME: attributes{{.*}}tf_saved_model.exported_names = ["callee"]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 28 19:09:38 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-include-tf2xla-fallback.mlir

    // CHECK-LABEL: non_max_suppression_v4
    func.func @non_max_suppression_v4(%arg0: tensor<3x4xf32>, %arg1: tensor<3xf32>, %arg2: tensor<f32>, %arg3: tensor<f32>) -> tensor<2xi32> {
      %max_size = mhlo.constant dense<2> : tensor<i32>
      // NO_FALLBACK: tf.NonMaxSuppressionV4
      // SUPPORTED_FALLBACK_DEVICE-NOT: tf.NonMaxSuppressionV4
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/libtf/tests/value_test.cc

        return TaggedValue(args.tuple()[0].f32() + args.tuple()[1].f32());
      }
      return TaggedValue::None();
    }
    }  // namespace
    TEST(Test1, TestFunctionCall) {
      TaggedValue f32 = TaggedValue(add);
      TaggedValue args = TaggedValue::Tuple();
      args.tuple().emplace_back(TaggedValue(1.f));
      args.tuple().emplace_back(TaggedValue(2.f));
      TaggedValue c = f32.func()(args, TaggedValue::None()).value();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

        %0 = stablehlo.constant() : () -> tensor<...x!quant.uniform<i8:f32:3 ...>>
        %1 = stablehlo.uniform_quantize %2 : (tensor<...xf32>) -> tensor<...x!quant.uniform<i8:f32 ...>>
        %3 = stablehlo.my_quantized_op(%1, %0) : (tensor<...x!quant.uniform<i8:f32 ...>>, tensor<...x!quant.uniform<i8:f32:3 ...>>) -> tensor<...x!quant.uniform<i8:f32 ...>>
        %4 = stablehlo.dequantize %3 : (tensor<...x!quant.uniform<i8:f32 ...>>) -> tensor<...xf32>
        ```
      }];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir

      // CHECK:      node {
      // CHECK-NEXT:   name: "Const"
      // CHECK-NEXT:   op: "Const"
        %0:2 = tf_executor.island wraps "tf.Const"() {device = "", dtype = "tfdtype$DT_FLOAT", value = dense<2.500000e-01> : tensor<f32>} : () -> tensor<f32> loc("Const")
    
      // CHECK:      node {
      // CHECK-NEXT:   name: "tf.PartitionedCall"
      // CHECK-NEXT:   op: "PartitionedCall"
      // CHECK:        func {
      // CHECK:          name: "foo"
      // CHECK:        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 18:52:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/strip_tf_attributes.mlir

      return
    }
    
    // -----
    
    // CHECK-LABEL: strips_result_attributes
    // CHECK-NOT: tf
    func.func @strips_result_attributes() -> (f32 {tf.foo = "bar"}) {
      %0 = "foo.constant"() : () -> f32
      return %0 : f32
    }
    
    // -----
    
    // CHECK-LABEL: strips_module_attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 25 20:04:10 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/attributes.mlir

      func.return
    }
    
    // CHECK-LABEL: func @basic
    func.func @basic(
        %arg0: tensor<3x1xf32>,
        %arg1: tensor<!tf_type.resource<tensor<1x3xf32>>>) -> (tensor<3x3xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/lift_tflite_flex_ops.mlir

      } : (tensor<i32>) -> (tensor<2xi32>, tensor<*xf32>)
    
    // CHECK: "tf.TensorArrayV3"
    // CHECK-SAME: : (tensor<i32>) -> (tensor<2x!tf_type.resource>, tensor<f32>)
    
      %1 = "tfl.cast"(%0#1) : (tensor<*xf32>) -> tensor<f32>
      func.return %1 : tensor<f32>
    }
    
    // CHECK-LABEL: TfParseExample
    func.func @TfParseExample(%arg0: tensor<1x!tf_type.string>) -> (tensor<1x1x!tf_type.string>, tensor<1x1x!tf_type.string>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/functional-if-ops.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    func.func @main(%arg0: tensor<f32>, %arg1: tensor<f32>, %arg2: tensor<4xf32>, %arg3: tensor<4xf32>) -> (tensor<4xf32>, tensor<4xf32>) {
      %0:2 = tf_executor.graph {
        %outputs_2, %control_3 = tf_executor.island wraps "tf.Less"(%arg0, %arg1) : (tensor<f32>, tensor<f32>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. test/fixedbugs/issue66066b.go

    }
    
    //go:noinline
    func g8(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x uint8) int64 {
    	return int64(int8(x))
    }
    
    func main() {
    	if got := f32(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1); got != 0xffffffff {
    		println("bad f32", got)
    	}
    	if got := f16(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1); got != 0xffff {
    		println("bad f16", got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 17:35:29 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top