- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 455 for operand1 (0.22 sec)
-
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/jit/deadness_analysis.cc
return operands_; } absl::Span<Predicate* const> operands() const { return operands_; } private: std::vector<Predicate*> operands_; }; // Represents a logical negation of a set of predicates. class NotPredicate : public Predicate { public: explicit NotPredicate(int64_t id, Predicate* operand) : Predicate(id), operands_({operand}) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 60.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
for (Value operand : fetch_op.getFetches()) { // Control results should not be propagated out. if (mlir::isa<ControlType>(operand.getType())) break; if (operand.getDefiningOp() != island_op) { // Operand is not from island, simply propagate it out. new_rets.push_back(operand); } else { // Lookup yield operand in island for inner op result.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/split-merged-operands.mlir
// RUN: tf-opt -tfl-split-merged-operands %s | FileCheck %s func.func @testSingleLstm(%arg0: tensor<4x4xf32>, %arg1: tensor<4xf32>, %arg2: tensor<4x4x4xf32>) -> tensor<4x4x4xf32> { // CHECK-LABEL: testSingleLstm // CHECK-DAG: %[[CST_0:.*]] = "tfl.pseudo_const"() <{value = dense<0.000000e+00> : tensor<4x4xf32>}> : () -> tensor<4x4xf32> // CHECK-DAG: %[[CST_1:.*]] = "tfl.pseudo_const"() <{value = dense<0.000000e+00> : tensor<4x4xf32>}> : () -> tensor<4x4xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
// shape tensors in variadic shapes operand. if (operands.size() < 3) return failure(); // Check concat_dim is a scalar. auto concat_dim_attr = mlir::dyn_cast_or_null<DenseIntElementsAttr>(operands[0]); if (!concat_dim_attr || concat_dim_attr.getType().getRank() != 0) return failure(); llvm::SmallVector<DenseIntElementsAttr, 4> shapes;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
// GLOBL shifts<>(SB),$256 func (p *Parser) asmGlobl(operands [][]lex.Token) { if len(operands) != 2 && len(operands) != 3 { p.errorf("expect two or three operands for GLOBL") return } // Operand 0 has the general form foo<>+0x04(SB). nameAddr := p.address(operands[0]) if !p.validSymbol("GLOBL", &nameAddr, false) { return } next := 1 // Next operand is the optional flag, a literal integer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 25.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
for (auto operand : forward_caller->getOperands()) { if (llvm::isa<BlockArgument>(operand)) { // Pull this from the original operands to the original while op. auto arg = llvm::cast<BlockArgument>(operand); f_operands.push_back(loop_operands[arg.getArgNumber()]); continue; } auto src = operand.getDefiningOp();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
llvm::SetVector<Value> operands; getUsedValuesDefinedAbove(island_op.getBody(), operands); SmallVector<Type, 16> func_operand_types; func_operand_types.reserve(operands.size()); for (Value operand : operands) func_operand_types.push_back(operand.getType()); // Function results are the yield operands SmallVector<Type, 16> func_result_types;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc
ConstOp permutation_op; // Layout dependent operands must be transpose operations with the same // permutation indices. for (unsigned idx : layout_dependent_operands) { OpOperand& operand = op->getOpOperand(idx); // Operand must be defined by a transpose op. TransposeOp transpose = dyn_cast_or_null<TransposeOp>(operand.get().getDefiningOp());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
MutableArrayRef<OpOperand> operands = GetOperandsForBlockArgument(block_arg); if (operands.size() == 1) return operands.front().get(); return operands[replica].get(); } // Returns the list of replica op operands that maps to the given block // argument. Returns list with num_replicas elements for replicated operands // and list with a single element for packed operands. // // Requires that block argument is of this replicate op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0)