Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BINARY (0.18 sec)

  1. 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)
  2. 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)
  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)
Back to top