Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Value (0.11 sec)

  1. tensorflow/c/eager/c_api.cc

      auto s = tensorflow::unwrap(op)->SetAttrFloat(attr_name, value);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    void TFE_OpSetAttrBool(TFE_Op* op, const char* attr_name, unsigned char value) {
      auto s = tensorflow::unwrap(op)->SetAttrBool(attr_name,
                                                   (value == 0) ? false : true);
      if (!s.ok()) {
    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)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

                                        TF_Status* status) {
      status->status = value.status();
      if (!value.ok()) {
        return nullptr;
      }
      // Caller is responsible to call `TF_DeleteBuffer` to release the buffer.
      TF_Buffer* result = TF_NewBuffer();
      const std::string& value_str = *value;
      void* data = malloc(value_str.length());
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
Back to top