Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsRefType (0.07 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)
Back to top