Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 157 for I8 (0.05 sec)

  1. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

        %2 = "tf.TPUExecute"(%arg0, %0#1) : (tensor<i8>, tensor<3x!tf_type.string>) -> tensor<i8>
        tf_device.return %2 : tensor<i8>
      }) {device = "/job:worker/replica:0/task:0/device:TPU:0"} : () -> tensor<i8>
      return
    }
    ```
    
    A replicated `tf_device.cluster_func`:
    
    ```mlir
    func @tf_tpu_rewrite(%arg0: tensor<i8>, %arg1: tensor<i8>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir

      %126 = "tfl.quantize"(%cst) {qtype = tensor<6x3x7x7x!quant.uniform<i8<-127:127>:f32:0, {1.412750e-03,3.503970e-04,2.441410e-04,3.823330e-04,2.441410e-04,8.950800e-04}>>} : (tensor<6x3x7x7xf32>) -> tensor<6x3x7x7x!quant.uniform<i8<-127:127>:f32:0, {1.412750e-03,3.503970e-04,2.441410e-04,3.823330e-04,2.441410e-04,8.950800e-04}>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

      virtual APInt quantizeFloatToInt(APFloat expressed_value) const {
        // This function is a performance critical code path in quantization
        // since it runs for each single float parameter value.
    
        // Specialize f32->u8/i8 case to optimize performance.
        if (&expressed_value.getSemantics() == &APFloat::IEEEsingle() &&
            storage_bit_width_ == 8 &&
            round_mode_ == llvm::APFloatBase::rmNearestTiesToAway) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/encoding/xml/read_test.go

    	F64Neg float64
    }
    
    const whitespaceValuesXML = `
    <WhitespaceValuesParent>
        <BFalse>   false   </BFalse>
        <BTrue>   true   </BTrue>
        <I>   266703   </I>
        <INeg>   -266703   </INeg>
        <I8>  112  </I8>
        <I8Neg>  -112  </I8Neg>
        <I16>  6703  </I16>
        <I16Neg>  -6703  </I16Neg>
        <I32>  266703  </I32>
        <I32Neg>  -266703  </I32Neg>
        <I64>  266703  </I64>
        <I64Neg>  -266703  </I64Neg>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

      %0 = "tfl.pseudo_const"() { value = dense<[1.0, 2.0, 3.0, 4.0]> : tensor<4xf64> } : () -> tensor<4xf64>
      func.return %0 : tensor<4xf64>
    }
    
    func.func @i8() -> tensor<4xi8> {
      // CHECK-LABEL: @i8
      // CHECK: value = dense<[1, 2, 3, 4]> : tensor<4xi8>
      %0 = "tfl.pseudo_const" () { value = dense<[1, 2, 3, 4]> : tensor<4xi8> } : () -> tensor<4xi8>
      func.return %0 : tensor<4xi8>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. test/gcgort.go

    			}
    		},
    	},
    	modifier{
    		name: "structT",
    		t: func() {
    			s := newStructT()
    			for i := 0; i < mods; i++ {
    				s.u8++
    				s.u16++
    				s.u32++
    				s.u64++
    				s.i8++
    				s.i16++
    				s.i32++
    				s.i64++
    				s.f32 *= 1.01
    				s.f64 *= 1.01
    				s.c64 = complex(real(s.c64)*1.01, imag(s.c64)*1.01)
    				s.c128 = complex(real(s.c128)*1.01, imag(s.c128)*1.01)
    				s.b++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 21:15:48 UTC 2018
    - 34.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants_offset.mlir

      %0 = "tfl.pseudo_const"() { value = dense<[1.0, 2.0, 3.0, 4.0]> : tensor<4xf64> } : () -> tensor<4xf64>
      func.return %0 : tensor<4xf64>
    }
    
    func.func @i8() -> tensor<4xi8> {
      // CHECK-LABEL: @i8
      // CHECK: value = dense<[1, 2, 3, 4]> : tensor<4xi8>
      %0 = "tfl.pseudo_const" () { value = dense<[1, 2, 3, 4]> : tensor<4xi8> } : () -> tensor<4xi8>
      func.return %0 : tensor<4xi8>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/passes.td

      }];
      let options = [
        Option<"unpack_quantized_types_", "unpack-quantized-types", "bool",
          /*default=*/"true", "Unpacks ops with uniform quantized types into "
          "operations without uniform quantized types (mostly i8 or i32).">
      ];
      let dependentDialects = [
        "mlir::stablehlo::StablehloDialect", "mlir::TF::TensorFlowDialect",
        "mlir::func::FuncDialect", "mlir::mhlo::MhloDialect",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/verify_quant_legalization.cc

    // The TF dialect uses some TF types that are illegal in the MHLO dialect and
    // some generic types that are legal in MHLO. This pass legalizes TF types into
    // types that are legal in MHLO. For example, TF::Qint8Type is converted to i8.
    // Rewrites here should run before TF to MHLO op legalizations are run.
    
    #include <memory>
    
    #include "absl/log/log.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/Support/Casting.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/optimize.mlir

    func.func @testRemoveReshapeAroundDot(%arg0: tensor<1x1x512xf32>, %arg1: tensor<512x13x!quant.uniform<i8:f32, 0.00285>>) -> tensor<1x1x13xf32> {
      %0 = "mhlo.reshape"(%arg0) : (tensor<1x1x512xf32>) -> tensor<1x512xf32>
      %1 = "mhlo.dot"(%0, %arg1) : (tensor<1x512xf32>, tensor<512x13x!quant.uniform<i8:f32, 0.00285>>) -> tensor<1x13xf32>
      %2 = "mhlo.reshape"(%1) : (tensor<1x13xf32>) -> tensor<1x1x13xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top