- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WithImpl (0.18 sec)
-
tensorflow/compiler/mlir/lite/quantization/device_target.h
const ScaleFn& fn) { (void)Add(signature, {ScaleConstraintType::CustomScale, fn}); return *this; } KernelSpecs& WithImpl(const ScaleDecomposeFn& dfn) { decompose_fn_ = dfn; return *this; } private: // The signature is pattern match based. struct SignatureInfo : public llvm::DenseMapInfo<Signature> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/device_target.cc
const ScaleConstraintType constraint) { if (failed(specs_[kernel].Add(signature, {constraint, {}}))) return failure(); switch (constraint) { case ScaleConstraintType::OutputInputSameScale: specs_[kernel].WithImpl(std::bind(&DeviceTarget::DecomposeSameScale, ph::_1, ph::_2, ph::_3, ph::_4)); return success(); default: return failure(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 7.3K bytes - Viewed (0)