- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 521 for Operands (0.14 sec)
-
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
"Has to fallback values which might introduce errors.\n"); // Use the first immutable state to quantize the rest operands and results. if (!immutable_states.empty()) return immutable_states.front()->params; // If there are no immutable states, use the operand's state if it is the // only one operand and has parameters propagated. if (op->getNumOperands() == 1 && mutable_operands_num == 1) {
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/quantization/tensorflow/cc/constant_fold.h
namespace mlir { namespace quant { // Applies constant folding recursively if the operation and all of its operands // are foldable. Returns the constants generated by constant-folding or the // original operation's outputs if not folded. SmallVector<Value> ConstantFoldOpIfPossible(Operation* op); // This pattern tries to constant-fold the quantizable operands of supported // TF operations. struct ConstantFoldQuantizableOperands : public RewritePattern {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jul 04 14:27:31 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h
// within its purview are mutating in nature. void PropagatePotentiallyWrittenWithinUnhandledOp(Operation* op); // Given a Region associated with the callee and operands from the // corresponding callOp, propagate the potentially written decision to the // callOp's operands, if the corresponding region's arguments are potentially // written resources. void PropagatePotentiallyWrittenUpFromCallee(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/eval_util.h
#include "mlir/IR/Operation.h" // from @llvm-project #include "tensorflow/c/eager/c_api.h" namespace tensorflow { // Attempts to evaluates an MLIR Operation in TensorFlow eager mode with the // specified operands. The op is always executed on the local host CPU // irrespective of the device attribute of the given op. If there is a CPU // kernel registered for the op and is executed successfully, this fills in the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Dec 19 06:31:40 UTC 2020 - 1.6K bytes - Viewed (0) -
src/fmt/print.go
} // Print formats using the default formats for its operands and writes to standard output. // Spaces are added between operands when neither is a string. // It returns the number of bytes written and any write error encountered. func Print(a ...any) (n int, err error) { return Fprint(os.Stdout, a...) } // Sprint formats using the default formats for its operands and returns the resulting string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
if (flatten_tuple) { auto operands = llvm::to_vector(values); operands.push_back(token); return operands; } auto value = values[0]; // If value with token already exists, reuse it. auto it = rewritten_values.find(value); if (it != rewritten_values.end()) return {it->getSecond()}; auto create_tuple = [&](ArrayRef<Value> operands) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
} std::unique_ptr<OpQuantSpec> spec = GetUniformOpQuantSpec(op); absl::flat_hash_set<int> operands = spec->quantizable_operands; int quant_dim = -1; if (enable_per_channel_quantization && operands.size() == 1) { quant_dim = spec->coeff_op_quant_dim[*(operands.begin())]; } attrs.push_back(rewriter.getNamedAttr("rhs_quantization_axis",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0) -
src/math/big/doc.go
result is the receiver (usually named z in that case; see below); if it is one of the operands x or y it may be safely overwritten (and its memory reused). Arithmetic expressions are typically written as a sequence of individual method calls, with each call corresponding to an operation. The receiver denotes the result and the method arguments are the operation's operands. For instance, given three *Int values a, b and c, the invocation c.Add(a, b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h
// and have at least one operand, result type can be inferred using the first // operand's type. #define INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(Op) \ LogicalResult Op::inferReturnTypeComponents( \ MLIRContext* context, std::optional<Location> location, \ ValueShapeRange operands, DictionaryAttr attributes, \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 03 19:26:14 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/stateful_ops_utils.h
#include <vector> #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project namespace mlir { namespace TFL { // Check if the given op has stateful operands and return their stateful // operand indices. bool IsStatefulOp(Operation* op, std::vector<int>* stateful_operand_indices); } // namespace TFL } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 03 00:14:05 UTC 2023 - 1.2K bytes - Viewed (0)