Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Krause (0.23 sec)

  1. tensorflow/c/c_api.cc

      status->status = absl::OkStatus();
      if (s == nullptr) return;
      TF_Graph* const graph = s->graph;
      if (graph != nullptr) {
        graph->mu.lock();
        graph->sessions.erase(s);
        const bool del = graph->delete_requested && graph->sessions.empty();
        graph->mu.unlock();
        if (del) delete graph;
      }
      delete s->session;
      delete s;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                            const int in_flight_nodes_limit)
          : status_(TF_NewStatus()),
            // If the context's default exector is set to async, re-using that in
            // each thread would cause collectives to deadlock. For consistency we
            // create a new sync executor for every thread.
            //
            // TODO(allenl): We should have an async API that works with the
            // parallel device.
    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)
  3. tensorflow/c/eager/c_api_distributed_test.cc

    // on both the main function side and the component function side, an error will
    // be thrown in the registered graph optimization pass.
    TEST(CAPI, DistributedFunctionGraphPassOnlyOnce) {
      // Register graph pass that will raise error if called more than once.
      tensorflow::optimization_registration::OptimizationPassRegistration
          register_test_pass(tensorflow::OptimizationPassRegistry::PRE_PLACEMENT, 0,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. configure.py

      """
      try:
        os.symlink(target, link_name)
      except OSError as e:
        if e.errno == errno.EEXIST:
          os.remove(link_name)
          os.symlink(target, link_name)
        else:
          raise e
    
    
    def write_to_bazelrc(line):
      with open(_TF_BAZELRC, 'a') as f:
        f.write(line + '\n')
    
    
    def write_action_env_to_bazelrc(var_name, var):
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

      it->second--;
      if (it->second != 0) {
        return;
      }
      tensor_usage_.erase(it);
      auto tensor_op_it = tensor_tape_.find(tensor_id);
      if (tensor_op_it == tensor_tape_.end()) {
        return;
      }
      const int64_t op_id = tensor_op_it->second;
      if (op_id == -1) {
        // Do not delete watched tensors.
        return;
      }
      tensor_tape_.erase(tensor_op_it);
      auto op_it = op_tape_.find(op_id);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. tensorflow/c/eager/c_api_experimental.h

    // context_id is initialized with a dummy value and is later set when the worker
    // is initialized (either locally or remotely). The context_id can change during
    // the process lifetime although this should cause the worker to be
    // reinitialized (e.g. cleared caches) as well.
    TF_CAPI_EXPORT extern uint64_t TFE_GetContextId(TFE_Context* ctx);
    
    // -----------------------------------------------------------------------------
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

        **Note:** You can add `--test_sharding_strategy=disabled` to the `flags` to
        disable the sharding so that all the test outputs are in one file. However,
        it may slow down the tests for not running in parallel and may cause the
        test to timeout but it could be useful when you need to execute a single
        test or more in general your filtered/selected tests have a very low
        execution time and the sharding
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  8. RELEASE.md

            well as Sequential models built with an explicit input shape are not
            affected.
        *   The methods `Model.to_yaml()` and `keras.models.model_from_yaml` have
            been replaced to raise a `RuntimeError` as they can be abused to cause
            arbitrary code execution. It is recommended to use JSON serialization
            instead of YAML, or, a better alternative, serialize to H5.
        *   `LinearModel` and `WideDeepModel` are moved to the
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  9. tensorflow/c/eager/c_api_experimental.cc

      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
          ++d;
        }
      }
    
      status->status = tensorflow::unwrap(ctx)->AddDevices(std::move(devices));
    }
    
    void TFE_InsertConfigKeyValue(TFE_Context* ctx, const char* key,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
Back to top