Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for num_outputs (1.77 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, "'");
            }
          }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  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);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 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,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top