- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 50 for makeChan (1.92 sec)
-
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) -
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) -
tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc
TF_ASSIGN_OR_RETURN( auto module, ImportSavedModel( model_flags.saved_model_dir(), model_flags.saved_model_version(), tags, absl::MakeSpan(custom_opdefs), exported_names, specs, !toco_flags.enable_tflite_resource_variables(), &context, &bundle)); if (!model_flags.input_arrays().empty() || !model_flags.output_arrays().empty()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 11K bytes - Viewed (0)