- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for numOutputs (0.13 sec)
-
tensorflow/c/experimental/ops/gen/cpp/renderers/op_implementation_renderer.cc
: Renderer(context), op_(op) {} void OpImplementationRenderer::Render() { RenderInitialization(); if (op_.IsListOp()) { RenderExecutionListOp(); } else if (op_.NumOutputs() == 0) { RenderExecutionZeroOutputs(); } else if (op_.NumOutputs() == 1) { RenderExecutionSingleOutput(); } else { RenderExecutionMultipleOutputs(); } } void OpImplementationRenderer::RenderInitialization() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc
return argument_attrs_; } const std::vector<OpArgumentView>& OpView::AllArguments() const { return all_arguments_; } int OpView::NumInputs() const { return input_args_.size(); } int OpView::NumOutputs() const { return output_args_.size(); } ArgView OpView::OnlyInput() const { CHECK_EQ(input_args_.size(), 1); // Crash OK return input_args_.front(); } ArgView OpView::OnlyOutput() const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy
return { -> outputFile } } task customTask(type: CustomTask) { int numOutputs = Integer.parseInt( providers.gradleProperty('numOutputs').get() ) outputFiles = (0..(numOutputs-1)).collect { lazyProperty("output\$it") } } """ when: succeeds customTaskWithOutputs(before)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/op_view.h
const std::vector<ArgView> &Outputs() const; const std::vector<AttrView> &Attributes() const; const std::vector<OpArgumentView> &AllArguments() const; int NumInputs() const; int NumOutputs() const; ArgView OnlyInput() const; ArgView OnlyOutput() const; string FunctionName() const; string VariableName() const; string OpNameString() const; string Summary() const;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go
commentsInExample := []commentMetadata{} numOutputs := 0 // Find the comment blocks that are in the example. These comments are // guaranteed to be in order of appearance. for _, cg := range fileComments { if cg.Pos() < fn.Pos() { continue } else if cg.End() > fn.End() { break } isOutput := outputRe.MatchString(cg.Text()) if isOutput { numOutputs++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 14.4K bytes - Viewed (0) -
src/cmd/cover/cover.go
return err } covervarsoutfile = outputfiles[0] outputfiles = outputfiles[1:] numInputs := len(flag.Args()) numOutputs := len(outputfiles) if numOutputs != numInputs { return fmt.Errorf("number of output files (%d) not equal to number of input files (%d)", numOutputs, numInputs) } if err := readPackageConfig(*pkgcfg); err != nil { return err } return nil } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
absl::StrCat("ZerosLike", ToId(t)).c_str())); } TF_RETURN_IF_ERROR(op->AddInput(t)); int num_outputs = 1; std::vector<AbstractTensorHandle*> outputs(num_outputs); TF_RETURN_IF_ERROR( op->Execute(absl::Span<AbstractTensorHandle*>(outputs), &num_outputs)); *result = outputs[0]; return absl::OkStatus(); } } // namespace Status GradientRegistry::Register(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
void TF_DeleteOutputList(TF_OutputList* o) { delete unwrap(o); } void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status* s) { unwrap(o)->expected_num_outputs = num_outputs; unwrap(o)->outputs.clear(); unwrap(o)->outputs.resize(num_outputs); } int TF_OutputListNumOutputs(TF_OutputList* o) { return unwrap(o)->outputs.size(); }
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/eager/custom_device_testutil.cc
} std::vector<TFE_TensorHandle*> op_outputs(*num_outputs); TFE_Execute(op, op_outputs.data(), num_outputs, s); TFE_DeleteOp(op); if (TF_GetCode(s) != TF_OK) return; std::vector<TFE_TensorHandle*> unwrapped_outputs; unwrapped_outputs.reserve(op_outputs.size()); for (auto* handle : op_outputs) { unwrapped_outputs.push_back(handle); } for (int i = 0; i < *num_outputs; ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 03 20:47:31 UTC 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
shape.dims())); } int num_outputs = 1; std::vector<AbstractTensorHandle*> outputs(num_outputs); TF_RETURN_IF_ERROR(operation->Execute( absl::Span<AbstractTensorHandle*>(outputs), &num_outputs)); if (num_outputs != 1) { return errors::Internal("Expected 1 output but found ", num_outputs); } auto* t = dyn_cast<GraphTensor>(outputs[0]); if (!t) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 20:00:09 UTC 2024 - 15.4K bytes - Viewed (0)