- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 40 for makeChan (0.29 sec)
-
istioctl/pkg/multixds/gather.go
} if len(pods) == 0 { return nil, ControlPlaneNotFoundError{istioNamespace} } responses := []*discovery.DiscoveryResponse{} xdsOpts := clioptions.CentralControlPlaneOptions{ XDSSAN: makeSan(istioNamespace, kubeClient.Revision()), CertDir: centralOpts.CertDir, Timeout: centralOpts.Timeout, } dialOpts, err := xds.DialOptions(xdsOpts, istioNamespace, tokenServiceAccount, kubeClient) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 08 08:38:19 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/custom_gradient_test.cc
// tape.watch(x) // y = exp(x) // outputs = tape.gradient(y, x) std::vector<AbstractTensorHandle*> outputs(1); Status s = RunModel(ExpWithPassThroughGrad, ctx.get(), {x.get()}, absl::MakeSpan(outputs), /*use_function=*/!std::get<2>(GetParam())); ASSERT_EQ(errors::OK, s.code()) << s.message(); TF_Tensor* result_tensor; s = GetValue(outputs[0], &result_tensor);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op.cc
const float max_value = max_tensor.scalar<float>()(); auto histogram_flat = histogram_tensor.flat<int64_t>(); absl::Span<const int64_t> histogram_data = absl::MakeSpan(histogram_flat.data(), histogram_flat.size()); id_to_collector_[ids_[idx]]->Collect(min_value, max_value, histogram_data); } } private:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 01:31:23 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util_test.cc
TF_ASSERT_OK_AND_ASSIGN(std::vector<int> constant_input_indices, GetConstantInputIndicesFromContext(context_.get())); TF_ASSERT_OK(LockVariables(absl::MakeSpan(variables))); TF_ASSERT_OK_AND_ASSIGN( std::vector<XlaCompiler::Argument> args, XlaComputationLaunchContext::BuildXlaCompilerArguments( constant_input_indices, inputs, variables,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 28.8K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/function.cc
Flatten(value, &args); std::vector<AbstractTensorHandle*> outs( GetFlatSize(concrete_fn.output_signature)); TF_RETURN_IF_ERROR( ExecuteFunction(concrete_fn.trace, ctx, args, absl::MakeSpan(outs))); auto cleanup_tensors = absl::MakeCleanup([outs]() { for (auto t : outs) { t->Unref(); } }); return Unflatten(outs, concrete_fn.output_signature); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 04 19:49:06 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad_test.cc
Y.reset(Y_raw); } std::vector<AbstractTensorHandle*> outputs(1); status_ = RunModel(ReluGradModel, immediate_execution_ctx_.get(), {Y.get()}, absl::MakeSpan(outputs), UseFunction()); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); ASSERT_NO_FATAL_FAILURE(CheckTensorValue(outputs[0], {0.0f}, /*dims*/ {}, /*abs_error*/ 0));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info_util.cc
std::vector<VariableInfo*> variable_ptrs; variable_ptrs.reserve(variables.size()); for (auto& var : variables) { variable_ptrs.push_back(&var); } return LockVariables(absl::MakeSpan(variable_ptrs)); } Status SnapshotResourceVariables(OpKernelContext* ctx, absl::Span<const int> variable_indices,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 10:15:17 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
variable_ptrs.reserve(num_vars); for (int i = 0; i < num_vars; ++i) { variable_ptrs.push_back(&(vars[i]->var_info)); } absl::Status cc_status = LockVariables(absl::MakeSpan(variable_ptrs)); status->status = cc_status; } void TF_AllocateTempForVariableInfo(TF_OpKernelContext* ctx, TF_VariableInfo* var_info,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 05:48:24 UTC 2024 - 13.9K bytes - Viewed (0) -
src/cmd/compile/internal/reflectdata/helpers.go
// type, and returns an expression that yields the *runtime._type // value representing that channel type. func MakeChanRType(pos src.XPos, n *ir.MakeExpr) ir.Node { assertOp(n, ir.OMAKECHAN) if hasRType(n, n.RType, "RType") { return n.RType } return chanRType(pos, n.Type()) } // MakeMapRType asserts that n is a "make" operation for a map type,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 04:50:32 UTC 2023 - 7.1K bytes - Viewed (0)