- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for isBF16 (0.21 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
return false; } // Returns true if it is a shaped type of bf16 elements. inline bool IsBF16ShapedType(Type t) { if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) { return shaped_type.getElementType().isBF16(); } return false; } // Returns true if it is a shaped type of FloatType elements. inline bool IsFloatShapedType(Type t) { if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
Type element_type = t; if (auto shaped_type = mlir::dyn_cast<ShapedType>(t)) { element_type = shaped_type.getElementType(); } return element_type.isBF16() || element_type.isF32(); }; for (Type t : binary_op->getOperandTypes()) { if (!is_fusable_type(t)) { return false; } } return true; } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
"'isSigned' can only be set for 8/16-bits integer type"); } } if (type.isF32()) { return tflite::TensorType_FLOAT32; } else if (type.isF16()) { return tflite::TensorType_FLOAT16; } else if (type.isBF16()) { return tflite::TensorType_BFLOAT16; } else if (type.isF64()) { return tflite::TensorType_FLOAT64; } else if (mlir::isa<mlir::TF::StringType>(type)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
// 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 // dimensions, for other data types we keep current data format. if (!input_ty.getElementType().isF32() && !input_ty.getElementType().isF16()) return getDataFormat();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0)