- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 54 for makeChan (0.33 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/saved_model/core/ops/restore_ops.cc
TF_RETURN_IF_ERROR(restore_op->AddInput(shapes_and_slices_handle.get())); AbstractTensorHandle* restored_handle = nullptr; int num_retvals = 1; TF_RETURN_IF_ERROR(restore_op->Execute( absl::MakeSpan(&restored_handle, num_retvals), &num_retvals)); AbstractTensorHandlePtr owned_restored_handle(restored_handle); if (!tensorflow::isa<ImmediateExecutionTensorHandle>( owned_restored_handle.get())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 4.5K 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/c/experimental/gradients/math_grad_test.cc
std::vector<AbstractTensorHandle*> outputs(2); status_ = RunModel(MatMulGradModel, immediate_execution_ctx_.get(), {A.get(), B.get()}, absl::MakeSpan(outputs), UseFunction()); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); ASSERT_NO_FATAL_FAILURE(CheckTensorValue(outputs[0], dA_vals[i], /*dims*/ {3, 3},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 17:32:14 UTC 2023 - 16.3K 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)