Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for unparseable (0.32 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 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

                                      TF_Status* status) {
      tensorflow::AttrValue attr_value;
      if (!attr_value.ParseFromArray(proto, proto_len)) {
        status->status = InvalidArgument(
            "Unparseable AttrValue proto passed to "
            "TF_FunctionSetAttrValueProto");
        return;
      }
    
      auto fdef_or = func->record->mutable_fdef();
      if (!fdef_or.ok()) {
        status->status = fdef_or.status();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  3. 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 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  4. tensorflow/c/eager/abstract_operation.h

      // device name such as "/job:localhost/replica:0/task:0/device:GPU:1".
      virtual const string& DeviceName() const = 0;
    
      // Sets the operation device name.
      //
      // The given `name` must be parseable by DeviceNameUtils::ParseFullName, and
      // the result will be used as a constraint for device placement. See the
      // documentation for DeviceName for more details.
      //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
Back to top