- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 232 for Operands (0.26 sec)
-
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
Value operand = op->getOperand(i); if (Operation* inst = operand.getDefiningOp()) { // If the operand comes from a `quantfork::DequantizeCastOp`, we use // the quantized input of this `quantfork::DequantizeCastOp` to set the // state. if (auto dq = dyn_cast<quantfork::DequantizeCastOp>(inst)) { operand = dq.getArg(); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
struct OpQuantSpec { // Maps the operand index of a bias input to its quantization specifications, // including the non-bias operand indexes and the method retrieving // quantization parameters from list of parameters of the non-bias operands. // This map is empty if the op doesn't have a bias operand. BiasParamsMap biases_params;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
// that was extracted.. // Find the input edges to form the set of operands to the new function call. llvm::SetVector<Value> inputs; for (Operation* op : ops) { for (Value operand : op->getOperands()) { Operation* defining_op = operand.getDefiningOp(); if (!ops.contains(defining_op)) inputs.insert(operand); } } // Find the output edges to form the set of resutls of the new function call.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td
avoid atomic contention on AsyncValue's refcount. }]; let arguments = (ins TFTensorType:$operand ); let results = (outs Variadic<TFTensorType>:$results ); let assemblyFormat = "$operand attr-dict `:` `(` type($operand) `)` `->` `(` type($results) `)`"; } def CreateOp: FallbackAsync_Op<"createop", [CoreRT_TypedAttributeTrait]> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 15.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/operand.go
cgofunc: "cgo function", } // An operand represents an intermediate value during type checking. // Operands have an (addressing) mode, the expression evaluating to // the operand, the operand's type, a value for constants, and an id // for built-in functions. // The zero value of operand is a ready to use invalid operand. type operand struct { mode operandMode expr syntax.Expr typ Type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 21:17:10 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
return absl::OkStatus(); } Status MlirAbstractOp::Create(ArrayRef<Value> operands, OperationState** state) { state_->operands = llvm::to_vector<4>(operands); Builder builder(context_); if (current_ods_input_ != op_def_->input_arg_size()) return InvalidArgument(absl::StrCat("Mismatch in operands number: got ", current_ods_input_, " expected ",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc
parallel_execute = mlir::TF::BuildParallelExecuteOp(cluster_func, &builder); // Rewrite results before rewriting operands as `tf.TPUPartitionedInputV2` // resource handle results is an indicator for a partitioned resource // variable. These `tf.TPUPartitionedInputV2` will be removed when rewriting // the operands. for (Value result : parallel_execute.getExecuteOutputs()) { if (!result.hasOneUse()) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td
to an aliased device name. Otherwise the device already set in tf_device.launch is used instead. Operands are replicated inputs and packed inputs. replicated_inputs: each group of `n` inputs corresponds to an input for a single individual replica and is mapped to a single region argument. Inside one group the operands are matching in order the `devices` attribute. Each replicated input must have compatible shapes and types.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 23:53:20 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
return rewriter.notifyMatchFailure( concat, "Concatenate op should have at least two operands"); auto first = concat.getVal()[0].getDefiningOp<mhlo::SliceOp>(); auto second = concat.getVal()[1].getDefiningOp<mhlo::SliceOp>(); if (!first || !second) return rewriter.notifyMatchFailure(concat, "operands are not slice ops"); if (first.getOperand() != second.getOperand())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc
metadata.ParseFromString(std::string(metadata_str.getValue())); int64_t num_replicas = replicate.getN(); // Find the formattable operands of `execute`, which must be mirrored // variables (arguments of `replicate`), and must be pass-throughs from while // operands. for (const auto& mirrored_index : mirrored_variable_indices_attr) { int64_t replicate_arg = mlir::cast<IntegerAttr>(mirrored_index).getInt();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.9K bytes - Viewed (0)