Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 173 for F32 (0.06 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/localize_var_handles.mlir

        %b = builtin.unrealized_conversion_cast to tensor<f32>
        %0, %1, %2 = "tf.WhileRegion"(%a, %b, %arg0) ({
          ^bb0(%ca: tensor<f32>, %cb: tensor<f32>, %cc: !res):
          %cond = builtin.unrealized_conversion_cast to tensor<i1>
          "tf.Yield"(%cond, %ca, %cb, %cc) : (tensor<i1>, tensor<f32>, tensor<f32>, !res) -> ()
        }, {
          ^bb0(%ba: tensor<f32>, %bb: tensor<f32>, %bc: !res):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 21:12:02 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc

            %cast = "tf.Cast"(%output) : (tensor<1024x24x24x3xi32>) -> tensor<1024x24x24x3xf32>
            %identity = "tf.Identity"(%scale) : (tensor<f32>) -> tensor<f32>
            %mul = "tf.Mul"(%cast, %identity) : (tensor<1024x24x24x3xf32>, tensor<f32>) -> tensor<1024x24x24x3xf32>
            func.return %mul : tensor<1024x24x24x3xf32>
          }
        }
      )mlir";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/tests/ops.mlir

    }
    
    // -----
    
    // CHECK-LABEL: constant
    func.func @constant() -> (!tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr) {
      %0 = tfr.constant f32 -> !tfr.attr
      %1 = tfr.constant [f32, i32] -> !tfr.attr
      %2 = "tfr.constant"() {value = f32} : () -> !tfr.attr
      %3 = "tfr.constant"() {value = [f32, i32]} : () -> !tfr.attr
      func.return %0, %1, %2, %3 : !tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr
    }
    
    // -----
    
    // CHECK-LABEL: equal
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_tf_drq.mlir

        %round = "tf.Floor"(%add) : (tensor<*xf32>) -> tensor<*xf32>
    
        %i8_min = "tf.Const"() {value = dense<-128.0> : tensor<f32>} : () -> tensor<f32>
        %i8_max = "tf.Const"() {value = dense<127.0> : tensor<f32>} : () -> tensor<f32>
        %clip = "tf.ClipByValue"(%round, %i8_min, %i8_max) : (tensor<*xf32>, tensor<f32>, tensor<f32>) -> tensor<*xf32>
        %i8 = "tf.Cast"(%clip) : (tensor<*xf32>) -> tensor<*xi8>
        func.return %i8 : tensor<*xi8>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

    // CHECK: %[[QUANT_ARG:.*]] = stablehlo.uniform_quantize %[[ARG]] : (tensor<1x3x3x4xf32>) -> tensor<1x3x3x4x!quant.uniform<i8:f32, {{.*}}>>
    // CHECK: %[[CONV:.*]] = stablehlo.convolution(%[[QUANT_ARG]], %[[FILTER]]) {{.*}} : (tensor<1x3x3x4x!quant.uniform<i8:f32, {{.*}}>>, tensor<3x3x4x4x!quant.uniform<i8:f32:3, {{.*}}>>) -> tensor<1x3x3x4x!quant.uniform<i8:f32, {{.*}}>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/unfuse_mhlo_batch_norm.mlir

        -> tensor<?x?x?x?xf32> {
      // CHECK-DAG: %[[EPS:.+]] = mhlo.constant dense<1.000000e-03> : tensor<f32>
      // CHECK-DAG: %[[VAR_SHAPE:.+]] = shape.shape_of %[[VARIANCE]] : tensor<?xf32> -> tensor<1xindex>
      // CHECK-DAG: %[[EPS_BCAST:.+]] =  "mhlo.dynamic_broadcast_in_dim"(%[[EPS]], %[[VAR_SHAPE]]) <{broadcast_dimensions = dense<> : tensor<0xi64>}> : (tensor<f32>, tensor<1xindex>) -> tensor<?xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-cfg.mlir

    func.func @testIfCasts(%arg0: tensor<i1>, %arg1: tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>> {
      %0 = "tf.If"(%arg0, %arg1) {
        then_branch = @testIfThen, else_branch = @testIfElse, is_stateless = false
      } : (tensor<i1>, tensor<!tf_type.variant<tensor<f32>>>) -> tensor<!tf_type.variant<tensor<f32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

        tf_device.return %12 : tensor<f32>
      }
      return %1#0, %1#1, %1#2, %1#3 : tensor<f32>, tensor<f32>, tensor<f32>, tensor<f32>
    }
    func.func private @_func(%arg0: tensor<f32>, %arg1: tensor<f32>, %arg2: tensor<f32>) -> tensor<f32> {
      %0 = "tf.Mul"(%arg0, %arg1) {device = "/device:TPU_REPLICATED_CORE:0"} : (tensor<f32>, tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types_test.cc

      constexpr absl::string_view kFullyQuantizedAdd = R"mlir(
        func.func @fully_quantized_add(%arg0: tensor<2x!quant.uniform<i8:f32, 1.000000e+00:0>>) -> tensor<2x!quant.uniform<i8:f32, 1.000000e+00:0>> {
          %0 = stablehlo.add %arg0, %arg0 : tensor<2x!quant.uniform<i8:f32, 1.000000e+00:0>>
          return %0 : tensor<2x!quant.uniform<i8:f32, 1.000000e+00:0>>
        }
      )mlir";
    
      OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kFullyQuantizedAdd);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/libtf/value.h

      explicit TaggedValue(Func f32) : type_(FUNC), data_(f32) {}
      /// TaggedValue constructor for type FLOAT32.
      explicit TaggedValue(float f32) : type_(FLOAT32), data_(Float32(f32)) {}
      /// TaggedValue constructor for type INT64.
      explicit TaggedValue(int64_t i64) : type_(INT64), data_(Int64(i64)) {}
      /// TaggedValue constructor for type FLOAT32.
      explicit TaggedValue(Float32 f32) : type_(FLOAT32), data_(f32) {}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:23:45 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top