Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NumOutputs (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
Back to top