Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for f16 (0.19 sec)

  1. tensorflow/compiler/mlir/lite/tests/ops.mlir

    func.func @testAddNWrongOperandResultType(tensor<? x f16>, tensor<? x f16>, tensor<? x f16>) -> tensor<? x f16> {
    ^bb0(%arg0: tensor<? x f16>, %arg1: tensor<? x f16>, %arg2: tensor<? x f16>):
      // expected-error @+1 {{'tfl.add_n' op operand #0 must be variadic of tensor of 32-bit float or 32-bit signless integer}}
      %0 = "tfl.add_n"(%arg0, %arg1, %arg2): (tensor<? x f16>, tensor<? x f16>, tensor<? x f16>) -> tensor<? x f16>
      func.return %0 : tensor<? x f16>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

      // The bytes of floats are stored little-endian.
      switch (elem_type.getIntOrFloatBitWidth()) {
        case 16: {
          assert(bytes_len % 2 == 0);
          // Supports both BF16 and F16.
          assert(elem_type.isF16() || elem_type.isBF16());
          int elem_count = bytes_len / 2;
    
          if (elem_type.isF16()) {
            std::vector<Eigen::half> values;
            values.reserve(elem_count);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

              new_result_type, ArrayRef<Eigen::half>(new_values));
    
          // Create new ConstantOp-Dequantize-Operation sequences. At this moment,
          // old ConstantOp is guaranteed to have one F32->F16 cast regardless of
          // its number of users.
          rewriter.setInsertionPointAfter(op);
          auto new_const = rewriter.create<arith::ConstantOp>(
              op->getLoc(), new_result_type, new_value_attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      if (!input_ty) return getDataFormat();
    
      // For f16 data type on devices with Tensor Cores support NHWC data format
      // is up to ~2x faster.
      const bool is_f16 = input_ty.getElementType().isF16();
      if (is_f16 && CanUseTensorCores(devices)) return "NHWC";
    
      // For f32/f16 data type decision depends on the filter size in spatial
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  5. src/runtime/asm_riscv64.s

    	MOV	X22, (14*8)(X25)
    	MOV	X23, (15*8)(X25)
    	MOVD	F10, (16*8)(X25)
    	MOVD	F11, (17*8)(X25)
    	MOVD	F12, (18*8)(X25)
    	MOVD	F13, (19*8)(X25)
    	MOVD	F14, (20*8)(X25)
    	MOVD	F15, (21*8)(X25)
    	MOVD	F16, (22*8)(X25)
    	MOVD	F17, (23*8)(X25)
    	MOVD	F8,  (24*8)(X25)
    	MOVD	F9,  (25*8)(X25)
    	MOVD	F18, (26*8)(X25)
    	MOVD	F19, (27*8)(X25)
    	MOVD	F20, (28*8)(X25)
    	MOVD	F21, (29*8)(X25)
    	MOVD	F22, (30*8)(X25)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/passes.td

          Option<"unfold_batch_matmul_", "unfold_batchmatmul",
                 "bool", "true",
                 "Unfold BatchMatMul into individual MatMul ops.">,
          Option<"allow_bf16_and_f16_type_legalization_", "allow-bf16-and-f16-type-legalization",
                 "bool", "false",
                 "Allow bf16 type legalization.">,
          Option<"use_fake_quant_num_bits_", "use-fake-quant-num-bits",
                 "bool", "false",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    def TF_Quint16Tensor : TensorOf<[TF_Quint16]>;
    
    //===----------------------------------------------------------------------===//
    // Floating-point types (including corresponding reference types)
    
    def TF_Float16 : AnyTypeOf<[F16, TF_Float16Ref], "16-bit float">;
    def TF_Float32 : AnyTypeOf<[F32, TF_Float32Ref], "32-bit float">;
    def TF_Float64 : AnyTypeOf<[F64, TF_Float64Ref], "64-bit float">;
    def TF_Bfloat16 : AnyTypeOf<[BF16, TF_Bfloat16Ref], "bfloat16">;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  8. test/live.go

    var m map[string]int
    var mi map[interface{}]int
    
    // str and iface are used to ensure that a temp is required for runtime calls below.
    func str() string
    func iface() interface{}
    
    func f16() {
    	if b {
    		delete(mi, iface()) // ERROR "stack object .autotmp_[0-9]+ interface \{\}$"
    	}
    	delete(mi, iface())
    	delete(mi, iface())
    }
    
    var m2s map[string]*byte
    var m2 map[[2]string]*byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      let description = [{
        Fill the tensor with given value.
      }];
    
      let arguments = (ins TFL_I32OrI64Tensor:$dims,
                       TFL_TensorOf<[F32, F16, I32, I64, I1, QI8, QI16, TFL_Str]>:$input);
    
      let results = (outs TFL_TensorOf<[F32, F16, I32, I64, I1, QI8, QI16, TFL_Str]>:$result);
    
      let hasOptions = 0;
    }
    
    def TFL_FloorOp: TFL_Op<"floor", [
        Pure,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    	"R31", // REGTMP
    
    	"F0",
    	"F1",
    	"F2",
    	"F3",
    	"F4",
    	"F5",
    	"F6",
    	"F7",
    	"F8",
    	"F9",
    	"F10",
    	"F11",
    	"F12",
    	"F13",
    	"F14",
    	"F15",
    	"F16",
    	"F17",
    	"F18",
    	"F19",
    	"F20",
    	"F21",
    	"F22",
    	"F23",
    	"F24",
    	"F25",
    	"F26",
    	"F27",
    	"F28",
    	"F29",
    	"F30",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top