- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getCalleeAttr (0.36 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc
// `QuantizationResult`. Otherwise, it returns `std::nullopt`. std::optional<QuantizationResult> GetQuantizationResult(func::CallOp call_op) { const StringRef callee_name = call_op.getCalleeAttr().getValue(); if (!callee_name.starts_with(kQuantizedFuncPrefix)) { return std::nullopt; // `call_op` is not a quantized function call. } absl::StatusOr<Method> method = GetQuantizationMethod(call_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.td
MutableOperandRange getArgOperandsMutable() { return getArgsMutable(); } // Return the callee of this operation. CallInterfaceCallable getCallableForCallee() { return getCalleeAttr(); } // Sets the callee from the callable void setCalleeFromCallable(CallInterfaceCallable callee); }]; let assemblyFormat = [{ $callee `(` $args `)` attr-dict `:` functional-type($args, results)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 10:54:29 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
ElementsAttr GetInverseScalesValueAttr() { return GetInverseScalesConstantOp().getValue(); } func::CallOp GetCallOp() { return call_op_; } FlatSymbolRefAttr GetFunction() { return call_op_.getCalleeAttr(); } private: explicit UniformQuantizeFunctionCallPattern(func::CallOp call_op) : call_op_(call_op) {} func::CallOp call_op_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
//===----------------------------------------------------------------------===// void CallOp::setCalleeFromCallable(CallInterfaceCallable callee) { // Direct call. if (FlatSymbolRefAttr calleeAttr = getCalleeAttr()) { auto symRef = callee.get<SymbolRefAttr>(); return setCalleeAttr(cast<FlatSymbolRefAttr>(symRef)); } // Indirect call, callee Value is the first operand. return setOperand(0, callee.get<Value>());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0)