- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 133 for Operands (0.3 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h
if (!result_ty) { return emitOptionalError(location, "Expected shape type for operand 0"); } for (auto [index, ty] : llvm::drop_begin(llvm::enumerate(operands.getTypes()), 1)) { auto shape_type = llvm::dyn_cast_or_null<ShapedType>(ty); if (!shape_type) { return emitOptionalError(location, "Expected shape type for operand ",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
new_types.back() = rewriter.getType<tf_executor::ControlType>(); // Control operand is attached on tf_executor::IslandOp. llvm::SmallVector<Value> island_control_operands; llvm::SmallVector<Value> inner_op_operands; for (Value value : operands) { // Because of the property of graph region, the control operands may // not have been converted to tf_executor::ControlType.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K 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) -
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/executor_island_coarsening.cc
// Collect operands for the new merged island. island_operands_and_results.operands.clear(); for (IslandOp island : merged_island.islands) island_operands_and_results.operands.insert(island.operand_begin(), island.operand_end()); for (IslandOp island : merged_island.islands) island_operands_and_results.operands.remove(island.getControl());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K 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) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
if (extra_operands.empty()) return; const int operands_size = while_op.getNumOperands() + extra_operands.size(); SmallVector<Value, 4> operands; operands.reserve(operands_size); operands.append(while_op.getOperands().begin(), while_op.getOperands().end()); operands.append(extra_operands.begin(), extra_operands.end()); SmallVector<Type, 4> new_types; new_types.reserve(operands_size);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc
void UpdateStatesAndReplaceStablehloOps( const SetVector<Value>& operands, const SetVector<Value>& defined_values, const LiveOuts& liveouts, ModuleOp module_op, const SetVector<Operation*>& reverse_subgraph, const int stablehlo_func_id, func::FuncOp main_func, const bool is_last_subgraph = false) { SetVector<Value> inputs = operands; for (Value defined_value : defined_values) { inputs.remove(defined_value);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
if (!IsIllegalType(v.getType())) { return true; } if (v.getUsers().empty()) { return false; } return llvm::all_of(v.getUsers(), [&](OpOperand operand) { return IsQintToIntCast(operand.getOwner()); }); } // Check if an op operand value is defined by int -> qint TF Cast OP. bool IsQintValueDefinedByIntToQintCast(Value v) { if (!IsIllegalType(v.getType())) { return true; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
index: the index in the resource array }]; let arguments = (ins TFTensorType:$arg, I64Attr:$index ); let results = (outs); let assemblyFormat = "operands attr-dict"; } def GetResourceOp : TensorflowMlrt_Op<"get_resource", []> { let summary = "get a tensor in resource array"; let description = [{ Get a tensor in resource array.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0)