Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Koss (0.17 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

        if (TF_GetCode(status_) != TF_OK) return "";
        if (read >= 0) content.resize(read);
        if (file_size != content.size())
          TF_SetStatus(
              status_, TF_DATA_LOSS,
              std::string("expected " + std::to_string(file_size) + " got " +
                          std::to_string(content.size()) + " bytes")
                  .c_str());
        return content;
      }
    
     protected:
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

      const std::vector<std::string>& op_names =
          tensorflow::unwrap(ctx)->GetLoggedOpsTestonly();
    
      std::ostringstream op_names_oss;
      for (const auto& op : op_names) {
        op_names_oss << op << ", ";
      }
      const std::string& op_names_str = op_names_oss.str();
      void* data = tensorflow::port::Malloc(op_names_str.length());
      op_names_str.copy(static_cast<char*>(data), op_names_str.length(), 0);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
Back to top