- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for f16 (0.06 sec)
-
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
return true; }; return just_call(while_op.getBody()) && just_call(while_op.getCond()); } bool IsCompatibleTypeWithTFLCastOp(Type type) { auto elemType = getElementTypeOrSelf(type); // F16, F32, F64, BF16 types are allowed. if (elemType.isBF16() || elemType.isF16() || elemType.isF32() || elemType.isF64()) return true; // I1, I4, I8, I16, I32, I64 types are allowed.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/ssa/_gen/PPC64Ops.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 43.8K bytes - Viewed (0) -
src/runtime/asm_ppc64x.s
MOVD -16(R12), g MOVD -8(R12), R31 RET TEXT runtimeĀ·elf_savefpr(SB),NOSPLIT|NOFRAME,$0 // R0 holds the LR of the caller's caller, R1 holds save location FMOVD F14, -144(R1) FMOVD F15, -136(R1) FMOVD F16, -128(R1) FMOVD F17, -120(R1) FMOVD F18, -112(R1) FMOVD F19, -104(R1) FMOVD F20, -96(R1) FMOVD F21, -88(R1) FMOVD F22, -80(R1) FMOVD F23, -72(R1) FMOVD F24, -64(R1) FMOVD F25, -56(R1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 45.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// CHECK: %[[CAST:.*]] = mhlo.convert %arg0 : tensor<4x8xf16> // CHECK: %[[INITIAL:.*]] = mhlo.constant dense<0xFC00> : tensor<f16> // CHECK: %[[REDUCED:.*]] = mhlo.reduce(%[[CAST]] init: %[[INITIAL]]) applies mhlo.maximum across dimensions = [1] : (tensor<4x8xf16>, tensor<f16>) -> tensor<4xf16> // CHECK: %[[CAST_BACK:.*]] = mhlo.convert %[[REDUCED]] : tensor<4xf16>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0)