Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Minard (0.17 sec)

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

      std::fstream::close();
      std::remove(name_.c_str());
    }
    
    const std::string TempFile::getName() const { return name_; }
    
    bool TempFile::truncate() {
      std::fstream::close();
      std::fstream::open(name_, std::ios::binary | std::ios::out);
      return std::fstream::is_open();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 26 14:56:58 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

        }
        VLOG(1) << "Adding func to graph: " << fdef_to_load.DebugString();
        std::vector<char> binary_proto_buf(fdef_to_load.ByteSizeLong());
        fdef_to_load.SerializeToArray(binary_proto_buf.data(),
                                      binary_proto_buf.size());
        TF_Function* func = TF_FunctionImportFunctionDef(
            binary_proto_buf.data(), binary_proto_buf.size(), status);
        if (!status->status.ok()) return {};
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      TF_GraphGetOpDef(graph, "MyFakeOp", buffer, status);
      EXPECT_EQ(TF_NOT_FOUND, TF_GetCode(status));
      ExpectHasSubstr(TF_Message(status),
                      "Op type not registered 'MyFakeOp' in binary");
    
      TF_DeleteBuffer(buffer);
      TF_DeleteGraph(graph);
      TF_DeleteStatus(status);
    }
    
    void StringVectorToArrays(const std::vector<string>& v,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

               TempFile(temp_file_name, std::ios::binary | std::ios::trunc), false,
               static_cast<int64_t>(metadata->size())});
        } else if (TF_GetCode(status) == TF_NOT_FOUND) {
          file->plugin_file = new tf_writable_file::GCSFile(
              {std::move(bucket), std::move(object), &gcs_file->gcs_client,
               TempFile(temp_file_name, std::ios::binary | std::ios::trunc), true,
               0});
        } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top