- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 476 for Operands (0.2 sec)
-
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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.h
// -> tfl.batch_matmul(mhlo.transpose(mhlo.reshape(operand)), ...). // Note: // 1) Reshape/transpose are inserted because tfl.BatchMatMul requires // size(contracting_dimensions) = 1 and size(output_dim) = 1, whereas // mhlo.dot_general has no such restriction. // 2) Inserted mhlo.reshape/transpose will be legalized to tf.reshape/transpose // in LegalizeHloToTf (then from tf to tfl later). // 3) If the operands are dynamic shaped tensors, mhlo.DynamicReshapeOp is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 04 19:00:01 UTC 2023 - 2.3K 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/gpu_fusion.cc
// commutativity of the AddV2: we want the FusedBatchNormV3 on any side. // Also we need some native calls to handle the "hasOneUse" aspects and the // optional extra operands for the AddV2 case. struct ReluToFusedBatchNorm : public OpRewritePattern<ReluOp> { using OpRewritePattern<ReluOp>::OpRewritePattern; LogicalResult matchAndRewrite(ReluOp relu_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 5.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/quantization/tensorflow/passes/remove_identity_op_pattern.h
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" namespace mlir { namespace quant { // Copied from tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc. // By removing identity ops, constant operands with dynamic shapes have static // shape information which is necessary for correct pattern matching in this // pass. struct RemoveIdentity : public OpRewritePattern<TF::IdentityOp> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 15 06:13:49 UTC 2023 - 1.7K 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) -
src/fmt/errors.go
// // If the format specifier includes a %w verb with an error operand, // the returned error will implement an Unwrap method returning the operand. // If there is more than one %w verb, the returned error will implement an // Unwrap method returning a []error containing all the %w operands in the // order they appear in the arguments. // It is invalid to supply the %w verb with an operand that does not implement
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 1.7K bytes - Viewed (0)