Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for num_outputs (0.04 sec)

  1. tensorflow/c/c_api_function.cc

            // nodes must have a single output.
            if (node->num_outputs() != 1) {
              return InvalidArgument(
                  "When `num_opers` is set to -1, nodes referenced in `inputs` "
                  "must have a single output. Node ",
                  node->name(), " has ", node->num_outputs(),
                  " outputs. Encountered while creating function '", fn_name, "'");
            }
          }
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      status->status = c.Run(op_reg_data->shape_inference_fn);
      if (!status->status.ok()) return;
    
      // Set output_shapes.
      TF_ShapeAndTypeList* output_shapes_result =
          TF_NewShapeAndTypeList(c.num_outputs());
      for (int i = 0; i < c.num_outputs(); ++i) {
        ShapeHandle shape_handle = c.output(i);
        TF_ShapeAndType& shape = output_shapes_result->items[i];
        shape.num_dims = c.Rank(shape_handle);
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

      return opts->opts.return_nodes.size();
    }
    
    void TF_ImportGraphDefResultsReturnOutputs(TF_ImportGraphDefResults* results,
                                               int* num_outputs,
                                               TF_Output** outputs) {
      *num_outputs = results->return_tensors.size();
      *outputs = results->return_tensors.data();
    }
    
    void TF_ImportGraphDefResultsReturnOperations(TF_ImportGraphDefResults* results,
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 102.4K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    // TF_ImportGraphDefOptionsAddReturnOutput(). The number of fetched outputs is
    // returned in `num_outputs`. The array of return outputs is returned in
    // `outputs`. `*outputs` is owned by and has the lifetime of `results`.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefResultsReturnOutputs(
        TF_ImportGraphDefResults* results, int* num_outputs, TF_Output** outputs);
    
    // Fetches the return operations requested via
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top