- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 47 for _retval (0.13 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc
func.func @main(%arg0: tensor<3x3x10xbf16>, %arg1: tensor<3xi32>) -> tensor<1x?x4xbf16> attributes {allow_soft_placement = false, tf.entry_function = {control_outputs = "", inputs = "_arg0,_arg1,_arg2", outputs = "_retval0"}} { %cst = "tf.Const"() {value = dense<[1, -1, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc
llvm::SmallVector<std::tuple<int64_t, int64_t, bool>, 8> output_buffer_to_size; for (auto retval : llvm::enumerate(old_terminator->getOperands())) { auto it = buffer_to_size.find(retval.value()); if (it == buffer_to_size.end()) continue; output_buffer_to_size.emplace_back(retval.index(), new_outputs.size(), it->getSecond().fixed);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
} Status MlirAbstractOp::Execute(absl::Span<AbstractTensorHandle*> retvals, int* num_retvals) { OperationState* state; TF_RETURN_IF_ERROR(Create(operands_, &state)); Operation* op = function_context_->CreateOperationFromState(*state); *num_retvals = op->getNumResults(); for (int i = 0; i < *num_retvals; i++) retvals[i] = new MlirTensor(op->getResult(i)); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/provision_test.go
ctrl, err := newTestController(ctx, nil, nil, false) if err != nil { t.Fatalf("Construct PersistentVolume controller failed: %v", err) } retVal := ctrl.provisionClaim(ctx, nil) if retVal != nil { t.Errorf("Expected nil return but got %v", retVal) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 35.3K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
if err != nil { return err } retval := inject.IntoResourceFile(injector, templs, vc, rev, meshConfig, reader, writer, func(warning string) { warnings = append(warnings, warning) }) if len(warnings) > 0 { fmt.Fprintln(c.ErrOrStderr()) } for _, warning := range warnings { fmt.Fprintln(c.ErrOrStderr(), warning) } return retval },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 21.6K bytes - Viewed (0) -
src/go/types/builtins.go
if resTyp == nil { code := InvalidImag if id == _Real { code = InvalidReal } check.errorf(x, code, invalidArg+"argument has type %s, expected complex type", x.typ) return } // if the argument is a constant, the result is a constant if x.mode == constant_ { if id == _Real { x.val = constant.Real(x.val) } else { x.val = constant.Imag(x.val)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc
return op.emitOpError( llvm::formatv(kBadArrayAttrLengthMsg, tensorflow::kOutputShardingAttr, op.getNumResults(), output_shardings.size())); // Set retvals metadata in proto. for (auto output_sharding_and_idx : llvm::enumerate(output_shardings)) if (failed(SetOpSharding(op, output_sharding_and_idx.value(), tensorflow::kOutputShardingAttr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins.go
if resTyp == nil { code := InvalidImag if id == _Real { code = InvalidReal } check.errorf(x, code, invalidArg+"argument has type %s, expected complex type", x.typ) return } // if the argument is a constant, the result is a constant if x.mode == constant_ { if id == _Real { x.val = constant.Real(x.val) } else { x.val = constant.Imag(x.val)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0) -
pilot/pkg/networking/util/util.go
srcX, err := src.UnmarshalNew() if err != nil { return nil, err } // Merge the two typed protos merge.Merge(dstX, srcX) // Convert the merged proto back to dst retVal := protoconv.MessageToAny(dstX) return retVal, nil } // AppendLbEndpointMetadata adds metadata values to a lb endpoint using the passed in metadata as base.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
src/runtime/cgocall.go
type argset struct { args unsafe.Pointer retval uintptr } // wrapper for syscall package to call cgocall for libc (cgo) calls. // //go:linkname syscall_cgocaller syscall.cgocaller //go:nosplit //go:uintptrescapes func syscall_cgocaller(fn unsafe.Pointer, args ...uintptr) uintptr { as := argset{args: unsafe.Pointer(&args[0])} cgocall(fn, unsafe.Pointer(&as)) return as.retval }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0)