- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TFFakeQuantOp (0.14 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h
namespace mlir { namespace quant { template <class TFFakeQuantOp> struct FetchMinMaxAttrs { using AttrType = FloatAttr; bool operator()(TFFakeQuantOp tf_op, AttrType &min_value, AttrType &max_value) const { min_value = tf_op.getMinAttr(); max_value = tf_op.getMaxAttr(); return true; // Successfully matched and fetched. } }; template <class TFFakeQuantOp> struct FetchConstantMinMaxInputs {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h
namespace mlir { namespace TFL { template <class TFFakeQuantOp> struct FetchMinMaxAttrs { using AttrType = FloatAttr; bool operator()(TFFakeQuantOp tf_op, AttrType &min_value, AttrType &max_value) const { min_value = tf_op.getMinAttr(); max_value = tf_op.getMaxAttr(); return true; // Successfully matched and fetched. } }; template <class TFFakeQuantOp> struct FetchConstantMinMaxInputs {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc
// | template <typename TFFakeQuantOp, bool PerAxis> struct InsertQuantOpsAfterTFFakeQuantOp : public OpRewritePattern<TFFakeQuantOp> { using BaseType = InsertQuantOpsAfterTFFakeQuantOp<TFFakeQuantOp, PerAxis>; explicit InsertQuantOpsAfterTFFakeQuantOp<TFFakeQuantOp, PerAxis>( MLIRContext *ctx) : OpRewritePattern<TFFakeQuantOp>(ctx) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0)