Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NumOutputs (0.34 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)
Back to top