Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for createdAt (0.18 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::CreateDir(const std::string& dirname,
                                        TransactionToken* token) {
      if (ops_->create_dir == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", dirname, " does not support CreateDir()"));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      absl::MutexLock l(&block->mu);
      TF_SetStatus(status, TF_OK, "");
      while (true) {
        switch (block->state) {
          case FetchState::ERROR:
            // TF_FALLTHROUGH_INTENDED
          case FetchState::CREATED:
            block->state = FetchState::FETCHING;
            block->mu.Unlock();  // Release the lock while making the API call.
            block->data.clear();
            block->data.resize(block_size_, 0);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      //
      // 1. Create a variable on `remote_device`, using `ctx_0`.
      TFE_TensorHandle* handle_0 =
          CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var");
    
      // 2. Wait for `var` to be created and initialized on the worker.
      TF_Status* status = TF_NewStatus();
      TFE_ContextAsyncWait(ctx_0, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  4. tensorflow/c/eager/c_api.h

    // A tensorflow.ServerDef specifies remote workers (in addition to the current
    // workers name). Operations created in this context can then be executed on
    // any of these remote workers by setting an appropriate device.
    //
    // If the following is set, all servers identified by the
    // ServerDef must be up when the context is created.
    TF_CAPI_EXPORT extern void TFE_ContextSetServerDef(TFE_Context* ctx,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/grappler/grappler.h

      void* ext;  // reserved for future use
    
      // [Optional]
      // Create function for optimizer.
      void* (*create_func)();
    
      // Optimizer function for optimizer. The first param is an optimizer created
      // by create_func. The second param is input graph. The third param is
      // GrapplerItem. The fourth param is output graph.
      void (*optimize_func)(void*, const TF_Buffer*, const TF_GrapplerItem*,
    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)
  6. tensorflow/c/eager/gradients.cc

      void MarkAsResult(AbstractTensorHandle* gradient) const override;
    
      void DeleteGradient(AbstractTensorHandle* gradient) const override;
    
     private:
      // The context where the aggregation op `Add` is to be created.
      AbstractContext* ctx_;
    };
    
    // Returns the number of elements in the gradient tensor.
    int64_t TapeVSpace::NumElements(AbstractTensorHandle* tensor) const {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. tensorflow/c/c_test_util.cc

      TF_Output add_inputs[2] = {{l, 0}, {r, 0}};
      TF_AddInputList(desc, add_inputs, 2);
      TF_AddControlInput(desc, ctrl_op);
      return TF_FinishOperation(desc, s);
    }
    
    // If `op_device` is non-empty, set the created op on that device.
    void BinaryOpHelper(const char* op_name, TF_Operation* l, TF_Operation* r,
                        TF_Graph* graph, TF_Status* s, const char* name,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  8. tensorflow/c/eager/c_api_experimental.h

    // TODO(agarwal): mark the affected handles and raise errors if they are used.
    TF_CAPI_EXPORT extern void TFE_ExecutorClearError(TFE_Executor*);
    
    // Sets a custom Executor for the current thread. All nodes created by this
    // thread will be added to this Executor. It will override the current executor.
    TF_CAPI_EXPORT extern void TFE_ContextSetExecutorForThread(TFE_Context*,
    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)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      ///
      /// The file block cache key is a {filename, offset} pair.
      typedef std::pair<std::string, size_t> Key;
    
      /// \brief The state of a block.
      ///
      /// A block begins in the CREATED stage. The first thread will attempt to read
      /// the block from the filesystem, transitioning the state of the block to
      /// FETCHING. After completing, if the read was successful the state should
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          status, TF_NOT_FOUND,
          absl::StrCat("The path ", path, " does not exist.").c_str());
    }
    
    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());
    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