Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Krause (0.32 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/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // its position in the LRU list so it doesn't get evicted by the next read.
      TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out));
      // Element at block_size was evicted.  Reading this element will also cause
      // the LRU element (at 0) to be evicted.
      calls.push_back(block_size);
      TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out));
      // Element at 0 was evicted again.
      calls.push_back(0);
    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)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

                   user_schemes->end();
          };
          auto end = std::remove_if(all_schemes->begin(), all_schemes->end(),
                                    is_requested_scheme);
          all_schemes->erase(end, all_schemes->end());
        }
      }
    
      return all_schemes;
    }
    
    static std::vector<std::string> GetSchemes() {
      static std::vector<std::string>* schemes = GetSchemesFromUserOrEnv();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K 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_cluster_test.cc

          "/job:localhost/replica:0/task:1/device:CPU:0";
      CheckRemoteMatMulExecutesOK(ctx, remote_device_name, local_device_name);
    
      // Adding a non-existent remote worker to cluster def. This should cause the
      // UpdateServerDef call to fail.
      tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->mutable_job(0);
      int port = tensorflow::testing::PickUnusedPortOrDie();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.h

    // If assume_valid_feeds is true, it can help infer shapes in the fanout of fed
    // nodes. This may cause incorrectness in graph analyses, but is useful for
    // simulation or scheduling.
    // If aggressive_shape_inference is true, nodes are executed on the host to
    // identify output values when possible and does other aggressive strategies.
    // This may cause incorrectness in graph analyses, but is useful for simulation
    // or scheduling.
    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)
  8. ci/official/README.md

    #   your builds. This usually saves a lot of time, especially when
    #   re-running tests. However, note that:
    #
    #    - New environments like new CUDA versions, changes to manylinux,
    #      compilers, etc. can cause undefined behavior such as build failures
    #      or tests passing incorrectly.
    #    - Automatic LLVM updates are known to extend build time even with
    #      the cache; this is unavoidable.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top