Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 465 for f32 (0.03 sec)

  1. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/fake_quant.mlir

    // CHECK-NEXT:     signature_defs: [ ]
    // CHECK-NEXT:   }
    
    // IMPORT: "tfl.fake_quant"(%arg0) <{max = 1.400000e+00 : f32, min = 3.000000e-01 : f32, narrow_range = false, num_bits = 6 : i32}>
    
      %0 = "tfl.fake_quant"(%arg0) {num_bits = 6 : i32, narrow_range = false, min = 0.3:f32, max = 1.4:f32} : (tensor<4 x f32>) -> tensor<4 x f32>
      func.return %0 : tensor<4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/infer_derived_attribute.mlir

      // CHECK:   double_val: 4
      tf_executor.graph {
        %0:2 = tf_executor.island wraps "tf.Const"() {value = dense<2.000000e+00> : tensor<f32>} : () -> tensor<f32>
        %1:2 = tf_executor.island(%0#1) wraps "tf.Const"() {value = dense<3.000000e+00> : tensor<f32>} : () -> tensor<f32>
        %2:2 =  tf_executor.island(%1#1) wraps "tf.Const"() {value = dense<4.000000e+00> : tensor<f64>} : () -> tensor<f64>
        tf_executor.fetch
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1K bytes
    - Viewed (0)
  3. test/fixedbugs/bug470.go

    package main
    
    import "fmt"
    
    const (
        F32 = 0.00999999977648258209228515625
        F64 = 0.01000000000000000020816681711721685132943093776702880859375
    )
    
    var F = float64(float32(0.01))
    
    func main() {
    	// 0.01 rounded to float32 then to float64 is F32.
    	// 0.01 represented directly in float64 is F64.
    	if F != F32 {
    		panic(fmt.Sprintf("F=%.1000g, want %.1000g", F, F32))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 608 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/resource_inlining.mlir

        func.return %1 : tensor<f32>
      }
    
      // CHECK-NOT: func private @callee
      func.func private @callee(%arg0: tensor<!tf_type.resource>) -> tensor<*xf32> attributes {tf.signature.is_stateful} {
        %0 = "tf.ReadVariableOp"(%arg0) {device = ""} : (tensor<!tf_type.resource>) -> tensor<*xf32>
        func.return %0 : tensor<*xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/optimize-arg-operand-constraint.mlir

      %0 = arith.constant dense<2.000000e+00> : tensor<f32>
      %1 = arith.constant dense<1.000000e+00> : tensor<f32>
      %2 = "tf.AddV2"(%arg0, %1) {T = "tfdtype$DT_FLOAT", device = "", name = "StatefulPartitionedCall/add"} : (tensor<1xf32>, tensor<f32>) -> tensor<1xf32>
      %3 = "tf.Mul"(%2, %0) {T = "tfdtype$DT_FLOAT", device = "", name = "output_node"} : (tensor<1xf32>, tensor<f32>) -> tensor<1xf32>
      func.return %3 : tensor<1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 719 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-pad.mlir

    module {
        func.func @main(%arg0: tensor<8x128xf32>, %arg1: tensor<f32>) -> tensor<11x131xf32> {
          %0 = "tfl.custom"(%arg0, %arg1) {custom_code = "stablehlo.pad", custom_option = #tfl<const_bytes : "0x656467655F70616464696E675F6869676800020203656467655F70616464696E675F6C6F7700020100696E746572696F725F70616464696E6700020000033E2A17030103311E0B2C2C2C062401">} : (tensor<8x128xf32>, tensor<f32>) -> tensor<11x131xf32>
          func.return %0 : tensor<11x131xf32>
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 11 20:41:19 UTC 2023
    - 939 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/optimize-after-quantization.mlir

      %w = arith.constant dense<2.0> : tensor<3x3x3x3xf32>
      %q = "tfl.quantize"(%w) {qtype = tensor<3x3x3x3x!quant.uniform<i8:f32, 0.1:1>>} : (tensor<3x3x3x3xf32>) -> tensor<3x3x3x3x!quant.uniform<i8:f32, 0.1:1>>
      %dq = "tfl.dequantize"(%q) : (tensor<3x3x3x3x!quant.uniform<i8:f32, 0.1:1>>) -> tensor<3x3x3x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. 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)
Back to top