- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for argv_index (0.62 sec)
-
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/gnu.go
func gnuArg(inst *Inst, argIndex int, arg Arg, pc uint64) string { // special cases for load/store instructions if _, ok := arg.(Offset); ok { if argIndex+1 == len(inst.Args) || inst.Args[argIndex+1] == nil { panic(fmt.Errorf("wrong table: offset not followed by register")) } } switch arg := arg.(type) { case Reg: if isLoadStoreOp(inst.Op) && argIndex == 1 && arg == R0 { return "0" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
return module->getAttr("tf_saved_model.semantics") != nullptr; } Operation *LookupBoundInput(func::FuncOp func, int arg_index, const SymbolTable &symbol_table) { auto attr = func.getArgAttrOfType<FlatSymbolRefAttr>( arg_index, "tf_saved_model.bound_input"); if (!attr) return nullptr; return symbol_table.lookup(attr.getValue()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt
val bindingMap = mutableMapOf<DataParameter, FunctionArgument.ValueArgument>() arguments.forEachIndexed { argIndex, arg -> if (argIndex < lastPositionalArgIndex && arg is FunctionArgument.Named && arg.name != parameters[argIndex].name) { // TODO: report mixed positional and named arguments? return@bindFunctionParametersToArguments null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 19.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
erase_indices.resize(num_operands); for (auto arg_index : arguments_to_erase) { auto argument = func.getArgument(arg_index); for (auto& use : argument.getUses()) { if (llvm::isa<func::ReturnOp, TF::YieldOp>(use.getOwner())) { erase_indices.set(use.getOperandNumber()); } } func.getArgument(arg_index).dropAllUses(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
for (const auto& input_pair : llvm::enumerate(signature->inputs)) { const int arg_index = GetTensorIndex( tensors[input_pair.value()->tensor_index]->name, input_names); if (arg_index == -1) { func->emitWarning("Invalid signature tensors specified."); return; } func.setArgAttr( arg_index, kTfSavedModelIndexPathAttr, mlir::ArrayAttr::get(context, {mlir::StringAttr::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc
// Populate the `retval_index_for_sharding` field of the argument metadate. for (auto entry : llvm::enumerate(execute.getDeviceVarReadsIndices())) { int64_t arg_index = mlir::cast<IntegerAttr>(entry.value()).getInt(); auto arg_metadata = metadata.mutable_args(arg_index); if (arg_metadata->enable_xla_sharding() == ::tensorflow::tpu::TPUCompileMetadataProto_Arg::ALLOWED) { int64_t ret_index =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.9K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc
int arg_index = iter->second; if (inserted) { NodeDef arg_def; NodeDefBuilder builder( absl::StrCat(src_node->name(), "_", src_slot, "_arg"), kArgOp, NodeDebugInfo(src_node->def())); DataType dtype = edge->dst()->input_type(edge->dst_input()); builder.Attr("T", dtype); builder.Attr("index", arg_index); Status s = builder.Finalize(&arg_def);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 51K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/canonicalize.mlir
func.return %0#1 : tensor<f32> } // ----- // Test case to test bug due to checking // `while_op.getResult(arg_index).use_empty()` instead of // `while_op.getResult(while_index).use_empty()` in the tfl.while // canonicalization. // arg0 is a pass through. After first iteration, arg_index = 0 // and while_index = 1. Make arg1 use empty in block and condition, but not in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 20.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// block arguments of body and cond matching still. int arg_index = 0; for (int while_index = 0, e = while_op.getNumOperands(); while_index < e; ++while_index) { auto value = while_op.getOperand(while_index); if (body_block.getArgument(arg_index).use_empty() && cond_block.getArgument(arg_index).use_empty() &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/loopreschedchecks.go
// be updated when a rescheduling check replaces the backedge. type edgeMem struct { e Edge m *Value // phi for memory at dest of e } // a rewriteTarget is a value-argindex pair indicating // where a rewrite is applied. Note that this is for values, // not for block controls, because block controls are not targets // for the rewrites performed in inserting rescheduling checks.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 21:17:10 UTC 2023 - 16K bytes - Viewed (0)