Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for unparseable (0.21 sec)

  1. tensorflow/c/c_api.cc

    void TF_SetConfig(TF_SessionOptions* options, const void* proto,
                      size_t proto_len, TF_Status* status) {
      if (!options->options.config.ParseFromArray(proto, proto_len)) {
        status->status = InvalidArgument("Unparseable ConfigProto");
      }
      // Disable optimizations for static graph to allow calls to Session::Extend.
      options->options.config.mutable_experimental()
          ->set_disable_optimize_for_static_graph(true);
    }
    
    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)
  2. tensorflow/c/eager/c_api.cc

                                 TF_Status* status) {
      tensorflow::AttrValue attr_value;
      if (!attr_value.ParseFromArray(proto, proto_len)) {
        status->status =
            tensorflow::errors::InvalidArgument("Unparseable AttrValue proto");
        return;
      }
      if (op == nullptr) {
        status->status = tensorflow::errors::InvalidArgument(
            "Got a null or uninitialized `op` argument");
        return;
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top