Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for creation (0.25 sec)

  1. tensorflow/c/c_api_experimental.cc

      // scheduled on that same threadpool, causing a deadlock in cases where the
      // caller of event_mgr->ThenExecute() blocks on the completion of the callback
      // (as in the case of ConstOp kernel creation on GPU, which involves copying a
      // CPU tensor to GPU).
      // Setting a larger thread pool does not help with the Swift caller, as we use
      // a different TFE context for each thread of execution (for running graph
    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/c_api_function.cc

      control_output_nodes.reserve(ncontrol_outputs);
      for (int i = 0; i < ncontrol_outputs; ++i) {
        control_output_nodes.push_back(&control_outputs[i]->node);
      }
    
      // Do the actual function creation.
      DCHECK(append_hash_to_fn_name <= 1);
      tensorflow::FunctionDef fdef;
      status->status = tensorflow::GraphToFunctionDef(
          fn_body->graph, fn_name, append_hash_to_fn_name != 0,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

            "Filesystem allows creation of random access files but no "
            "operations on them have been supplied.");
    
      if ((ops->filesystem_ops->new_writable_file != nullptr ||
           ops->filesystem_ops->new_appendable_file != nullptr) &&
          ops->writable_file_ops == nullptr)
        return errors::FailedPrecondition(
            "Filesystem allows creation of writable files but no "
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.cc

      else                                                       \
        configs.toggle_config[#optimizer] = RewriterConfig::ON;
    
    void CGraphOptimizerRegister(
        const PluginGraphOptimizerRegistry::Creator& creator,
        const TP_OptimizerConfigs tp_configs, const char* device_type) {
      ConfigList configs;
      // disable_model_pruning is turned off by default.
      if (tp_configs.disable_model_pruning == TF_TriState_On)
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        std::vector<TensorHandlePtr> components, absl::Span<const int64_t> shape,
        TF_Status* status) {
      if (components.empty()) {
        TF_SetStatus(status, TF_INTERNAL,
                     "No components are provide for creating a ParallelTensor");
        return nullptr;
      }
      TFE_TensorHandleGetStatus(components[0].get(), status);
      if (!status->status.ok()) {
        return nullptr;
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    }
    
    void CreateDir(const TF_Filesystem* filesystem, const char* path,
                   TF_Status* status) {
      std::string dir = path;
      MaybeAppendSlash(&dir);
      TF_VLog(3,
              "CreateDir: creating directory with path: %s and "
              "path_with_slash: %s",
              path, dir.c_str());
      std::string bucket, object;
      ParseGCSPath(dir, true, &bucket, &object, status);
      if (TF_GetCode(status) != TF_OK) return;
    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