- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getInputSpecs (0.23 sec)
-
tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc
// There are specifications for both inputs and outputs. if (getNumOperands() != getInputSpecs().size() || getNumResults() != getOutputSpecs().size()) return emitOpError( "has unmatched operands/results number and spec attributes number"); // Verify that quantization specifications are valid. for (auto input : llvm::zip(getOperandTypes(), getInputSpecs())) { Type inputType = std::get<0>(input);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc
// There are specifications for both inputs and outputs. if (getNumOperands() != getInputSpecs().size() || getNumResults() != getOutputSpecs().size()) return emitOpError( "has unmatched operands/results number and spec attributes number"); // Verify that quantization specifications are valid. for (auto input : llvm::zip(getOperandTypes(), getInputSpecs())) { Type inputType = std::get<0>(input);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
return all_ops; } KernelSpecs::Signature QuantizeContext::GetSignature( quantfork::QuantizeRegionOp op) { KernelSpecs::Signature signature; signature.reserve(op.getInputSpecs().size() + op.getOutputSpecs().size()); for (int i = 0; i < op.getNumOperands(); ++i) { DeviceTarget::AppendToSignature(GetOperandParams(op, i), &signature); } for (int i = 0; i < op.getNumResults(); ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 13.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/device_target.cc
auto rop = llvm::dyn_cast<quantfork::QuantizeRegionOp>(op); if (!rop) return failure(); llvm::SmallVector<Type, 4> input_specs, out_specs; for (auto spec : rop.getInputSpecs()) { input_specs.push_back(spec.cast<TypeAttr>().getValue()); } for (auto spec : rop.getOutputSpecs()) { out_specs.push_back(spec.cast<TypeAttr>().getValue()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 7.3K bytes - Viewed (0)