Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for outputType (0.1 sec)

  1. tensorflow/c/c_api_function.cc

    using tensorflow::errors::InvalidArgument;
    
    namespace tensorflow {
    namespace {
    
    absl::Status ValidateNonRefOutput(const Node* node, int idx) {
      const DataType& dt = node->output_type(idx);
      return IsRefType(dt)
                 ? InvalidArgument("Output ", idx, " of node '", node->name(),
                                   "' has a reference type ", DataTypeString(dt))
                 : absl::OkStatus();
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

    int TF_OperationNumOutputs(TF_Operation* oper) {
      return oper->node.num_outputs();
    }
    
    TF_DataType TF_OperationOutputType(TF_Output oper_out) {
      return static_cast<TF_DataType>(
          oper_out.oper->node.output_type(oper_out.index));
    }
    
    int TF_OperationOutputListLength(TF_Operation* oper, const char* arg_name,
                                     TF_Status* status) {
      NameRangeMap name_ranges;
      status->status =
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top