- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for new_args (0.15 sec)
-
src/cmd/go/internal/work/gc.go
func toolVerify(a *Action, b *Builder, p *load.Package, newTool string, ofile string, args []any) error { newArgs := make([]any, len(args)) copy(newArgs, args) newArgs[1] = base.Tool(newTool) newArgs[3] = ofile + ".new" // x.6 becomes x.6.new if err := b.Shell(a).run(p.Dir, p.ImportPath, nil, newArgs...); err != nil { return err } data1, err := os.ReadFile(ofile) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/go/types/assignments.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
src/syscall/mksyscall.pl
if($extraimports ne "") { $stdimports .= "\n$extraimports"; } # TODO: this assumes tags are just simply comma separated. For now this is all the uses. $newtags = $tags =~ s/,/ && /r; print <<EOF; // $cmdline // Code generated by the command above; DO NOT EDIT. //go:build $newtags package syscall $stdimports $text EOF
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:15:02 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td
Example: %out_ch = tfrt_fallback_async.createop(%in_ch) key(0) device("/CPU:0") "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1) }]; let arguments = (ins TFRT_ChainType:$in_ch, I64Attr:$num_args, StrAttr:$device, ArrayAttr:$op_attrs, // TODO(b/173025975): consider using DictionaryAttr after we support // BEF conversion for this type.
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/tensorflow/transforms/resource_op_lifting_cleanup.cc
func.front().getTerminator()->eraseOperand(result_idx); } // Check which function arguments are unused in all branches. We can drop // those as well. int num_args = cloned_branches[0].getNumArguments(); llvm::BitVector used_args(num_args); for (func::FuncOp func : branches) { for (BlockArgument arg : func.getArguments()) { if (!arg.use_empty()) used_args.set(arg.getArgNumber()); } }
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/aot/codegen.cc
const CompileResult& compile_result, string* methods) { const int num_args = ps.parameters_size(); // feed_size() + variable_size() is the maximum number of args as an // implementation may not create an argument for an unused variable. if (config.feed_size() + config.variable_size() < num_args) { return errors::InvalidArgument(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 36.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/assignments.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
for (auto res : llvm::enumerate(call_op.getResultTypes())) { Type res_type = res.value(); if (mlir::dyn_cast<TFRTensorType>(res_type)) { Value new_res = new_op->getResult(res.index()); auto casted = rewriter.create<CastOp>(loc, res_type, new_res); new_results.push_back(casted.getOut()); } else if (auto list_type = mlir::dyn_cast<TFRTensorListType>(res.value())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
mlir::FunctionType func_type = main_func.getFunctionType(); int num_args = func_type.getNumInputs(); xla_input_shapes->reserve(num_args); std::vector<xla::Shape> individual_arg_shapes; individual_arg_shapes.reserve(num_args); for (int i = 0; i < num_args; ++i) { individual_arg_shapes.emplace_back(); xla::Shape& xla_shape = individual_arg_shapes.back();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc
available_labels); new_lhs.append(new_labels); i += 2; } } std::string new_rhs, new_rhs_labels; for (int i = 0; i < rhs.size(); ++i) { const char label = rhs[i]; if (std::isalpha(label)) { new_rhs.push_back(label); } else { // Encounter ellipsis: generate unnamed labels then insert to the new // labels.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.3K bytes - Viewed (0)