- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TFTypeIsHalfTensor (0.14 sec)
-
tensorflow/compiler/mlir/lite/utils/validators.h
inline bool TFTypeIsHalfTensor(Value value) { auto tensorType = mlir::dyn_cast<TensorType>(value.getType()); if (!tensorType) return false; return tensorType.getElementType().isF16(); } // Returns true iff the given value is a f16 or bf16 tensor. inline bool TFTypeIsBFloat16OrHalfTensor(Value value) { return TFTypeIsBFloat16Tensor(value) || TFTypeIsHalfTensor(value); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.7K bytes - Viewed (0)