Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for init (0.15 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      // Create two contexts.
      int32_t init_timeout_in_ms = 300000;
      TFE_Context* ctx_0 =
          CreateContext(serialized_server_def_0,
                        /*isolate_session_state=*/false, init_timeout_in_ms);
      TFE_Context* ctx_1 =
          CreateContext(serialized_server_def_1,
                        /*isolate_session_state=*/false, init_timeout_in_ms);
    
      // Remote device on `worker2`.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api.h

                                                     const TF_DataType* values,
                                                     int num_values);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrShapeList(
        TFE_Op* op, const char* attr_name, const int64_t** dims,
        const int* num_dims, int num_values, TF_Status* out_status);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrFunctionList(TFE_Op* op,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // fill the cache, and the loop with i = 1 should be all cache hits. The
      // fetcher checks that it is called once and only once for each offset (to
      // fetch the corresponding block).
      for (int i = 0; i < 2; i++) {
        for (int j = 0; j < block_count; j++) {
          TF_EXPECT_OK(ReadCache(&cache, "", block_size * j, block_size, &out));
        }
      }
    }
    
    TEST(RamFileBlockCacheTest, OutOfRange) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      } else {
        std::vector<TF_Status*> plugin_status;
        plugin_status.reserve(files.size());
        for (int i = 0; i < files.size(); i++)
          plugin_status.push_back(TF_NewStatus());
        result = ops_->paths_exist(filesystem_.get(), translated_names.data(),
                                   files.size(), plugin_status.data());
        for (int i = 0; i < files.size(); i++) {
          status->push_back(StatusFromTF_Status(plugin_status[i]));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_test.cc

      // Copy Tensor data into an array.
      float result_data[4] = {0};
      memcpy(&result_data[0], TF_TensorData(result_tensor),
             TF_TensorByteSize(result_tensor));
    
      int data_len = 4;  // length of result_data
      for (int i = 0; i < data_len; i++) {
        EXPECT_EQ(result_data[i], 0);
      }
    
      TF_DeleteTensor(result_tensor);
      TF_DeleteAbstractTensor(result);
      TF_DeleteOutputList(o);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->filesystem_ops = static_cast<TF_FilesystemOps*>(
          plugin_memory_allocate(TF_FILESYSTEM_OPS_SIZE));
      ops->filesystem_ops->init = tf_posix_filesystem::Init;
      ops->filesystem_ops->cleanup = tf_posix_filesystem::Cleanup;
      ops->filesystem_ops->new_random_access_file =
          tf_posix_filesystem::NewRandomAccessFile;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.cc

      TF_RETURN_IF_ERROR(
          env->GetSymbolFromLibrary(dso_handle, "TF_InitGraph", &dso_symbol));
    
      // Step 2: Call `TF_InitPlugin`
      auto init_fn = reinterpret_cast<TFInitGraphPluginFn>(dso_symbol);
      return InitGraphPlugin(init_fn);
    }
    
    absl::Status InitGraphPlugin(TFInitGraphPluginFn init_fn) {
      TP_OptimizerRegistrationParams params{
          TP_OPTIMIZER_REGISTRATION_PARAMS_STRUCT_SIZE};
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      if (ops == nullptr)
        return errors::FailedPrecondition(
            "Trying to register filesystem without operations");
    
      if (ops->init == nullptr)
        return errors::FailedPrecondition(
            "Trying to register filesystem without `init` operation");
    
      if (ops->cleanup == nullptr)
        return errors::FailedPrecondition(
            "Trying to register filesystem without `cleanup` operation");
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api.cc

    TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeout(
        TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len,
        int64_t init_timeout_in_ms, TF_Status* status,
        bool clear_existing_contexts) {
      TFE_ContextSetServerDefWithTimeoutAndRetries(
          ctx, keep_alive_secs, proto, proto_len, init_timeout_in_ms,
          /*retries=*/0, status, clear_existing_contexts);
    }
    
    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)
  10. tensorflow/c/experimental/grappler/grappler.h

    // or removed during the graph transformation. This includes feed and fetch
    // nodes, keep_ops, init_ops. Fills in `num_values` and `storage_size`, they
    // will be used in `TF_GetNodesToPreserveList`.
    TF_CAPI_EXPORT extern void TF_GetNodesToPreserveListSize(
        const TF_GrapplerItem* item, int* num_values, size_t* storage_size,
        TF_Status* status);
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
Back to top