- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for funcargs (0.2 sec)
-
src/cmd/compile/internal/types/size.go
t.intRegs = 1 t.setAlg(ANOEQ) t.ptrBytes = int64(PtrSize) // function is 3 cated structures; // compute their widths as side-effect. case TFUNCARGS: t1 := t.FuncArgs() // TODO(mdempsky): Should package abi be responsible for computing argwid? w = calcStructOffset(t1, t1.Recvs(), 0) w = calcStructOffset(t1, t1.Params(), w) w = RoundUp(w, int64(RegSize))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
// itself as the current live value. auto func_args = function.getArguments().take_front( function.getNumArguments() - var_handle_shared_names.size()); for (BlockArgument& func_arg : func_args) { auto resource_type = mlir::dyn_cast<TF::ResourceType>( getElementTypeOrSelf(func_arg.getType())); if (!resource_type) continue; if (failed(ValidateResourceArgument(function, func_arg, resource_type))) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/object.h
template <typename TReturn, typename... TFuncArgs> class CallableWrapperUnpackArgs<TReturn (*)(TFuncArgs...)> : public CallableWrapper<TReturn (*)(TFuncArgs...), TReturn, TFuncArgs...> { using Fn = TReturn (*)(TFuncArgs...); public: CallableWrapperUnpackArgs(Fn fn, const char* name) : CallableWrapper<Fn, TReturn, TFuncArgs...>(fn, name) {} };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 23.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
func_args.push_back(TF_CreateAbstractTensorFromEagerTensor(input_eager, s)); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); } TF_OutputList* func_outputs = TF_NewOutputList(); TF_OutputListSetNumOutputs(func_outputs, 2, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); TF_ExecuteOperation(fn_op, func_args.size(), func_args.data(), func_outputs, s);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 39.1K bytes - Viewed (0) -
pkg/util/iptables/iptables.go
iptablesCmd := iptablesCommand(runner.protocol) fullArgs := append(runner.waitFlag, string(op)) fullArgs = append(fullArgs, args...) klog.V(5).InfoS("Running", "command", iptablesCmd, "arguments", fullArgs) if ctx == nil { return runner.exec.Command(iptablesCmd, fullArgs...).CombinedOutput() } return runner.exec.CommandContext(ctx, iptablesCmd, fullArgs...).CombinedOutput()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 28.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc
func::FuncOp float_func = dyn_cast<func::FuncOp>(symbol_table.lookup(function_name)); OperandRange func_args = op.getArgs(); func::FuncOp new_float_func = float_func.clone(); SmallVector<Value> new_float_func_args{func_args.begin(), func_args.end()}; new_float_func_args[weight_operand_idx] = reshape_op; new_float_func.getArgument(weight_operand_idx).setType(new_shape);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc
} return success(); }; while (!worklist.empty()) { auto func_op = worklist.pop_back_val(); auto& func_res = per_function_results.find(func_op)->getSecond(); // In-function propagation. if (failed(ComputeResourceDevicesInComputation(func_op, &func_res))) return signalPassFailure(); // Propagation to callees. auto walk_res = func_op.walk([&](Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 03:47:00 UTC 2023 - 13.3K bytes - Viewed (0) -
src/internal/fuzz/worker.go
Duration time.Duration // Count is the number of values tested. Count int64 } // fuzzArgs contains arguments to workerServer.fuzz. The value to fuzz is // passed in shared memory. type fuzzArgs struct { // Timeout is the time to spend fuzzing, not including starting or // cleaning up. Timeout time.Duration
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 37.7K bytes - Viewed (0) -
src/cmd/compile/internal/types/fmt.go
name = fmt.Sprint(f.Nname) } else if verb == 'L' { name = s.Name if !IsExported(name) && mode != fmtTypeIDName { name = sconv(s, 0, mode) // qualify non-exported names (used on structs, not on funarg) } } else { name = sconv(s, 0, mode) } } } if name != "" { b.WriteString(name) b.WriteString(nameSep) } if f.IsDDD() { var et *Type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 15:41:17 UTC 2023 - 15.7K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/subr.go
} // LookupNum returns types.LocalPkg.LookupNum(prefix, n). func LookupNum(prefix string, n int) *types.Sym { return types.LocalPkg.LookupNum(prefix, n) } // Given funarg struct list, return list of fn args. func NewFuncParams(origs []*types.Field) []*types.Field { res := make([]*types.Field, len(origs)) for i, orig := range origs { p := types.NewField(orig.Pos, orig.Sym, orig.Type)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:45:58 UTC 2023 - 20.2K bytes - Viewed (0)