Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for mask (0.17 sec)

  1. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    -  extern __typeof (name) aliasname __attribute__ ((weak, alias (#name)));
    +  extern __typeof (name) aliasname __attribute__ ((weak, alias (#name))) \
    +    __attribute_copy__ (name);
     
     /* Same as WEAK_ALIAS, but mark symbol as hidden.  */
     # define weak_hidden_alias(name, aliasname) \
       _weak_hidden_alias (name, aliasname)
     # define _weak_hidden_alias(name, aliasname) \
       extern __typeof (name) aliasname \
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

    }
    
    }  // end extern "C"
    
    namespace tensorflow {
    
    void RecordMutation(TF_Graph* graph, const TF_Operation& op,
                        const char* mutation_type) {
      // If any session has already run this node_id, mark this session as
      // unrunnable.
      for (auto it : graph->sessions) {
        mutex_lock session_lock(it.first->mu);
        if (it.first->last_num_graph_nodes > op.node.id()) {
          it.second = strings::StrCat(
    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)
  3. RELEASE.md

                with `mask_zero=True` to automatically infer a correct padding mask.
            *   Added a `use_causal_mask` call time argument to the layer. Passing
                `use_causal_mask=True` will compute a causal attention mask, and
                optionally combine it with any `attention_mask` passed in directly
                when calling the layer.
    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)
  4. tensorflow/c/eager/c_api_cluster_test.cc

    namespace {
    
    using ::tensorflow::string;
    
    void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index) {
      tensorflow::JobDef* job_def = server_def->mutable_cluster()->mutable_job(0);
      int port = tensorflow::testing::PickUnusedPortOrDie();
      job_def->mutable_tasks()->at(task_index) =
          tensorflow::strings::StrCat("localhost:", port);
    }
    
    void CheckTFE_TensorHandleHasFloats(TFE_TensorHandle* handle,
    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)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
      std::vector<std::string> devices{
          "/job:localhost/replica:0/task:0/device:CPU:0",
          "/job:localhost/replica:0/task:0/device:CPU:1"};
      ParallelDevice parallel_device(std::move(devices));
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> handle_op(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_remote_test.cc

    namespace {
    
    using ::tensorflow::string;
    
    void TestRemoteExecute(bool async) {
      tensorflow::ServerDef server_def = GetServerDef(2);
    
      // This server def has the task index set to 0.
      string serialized = server_def.SerializeAsString();
    
      server_def.set_task_index(1);
    
      std::unique_ptr<tensorflow::GrpcServer> worker_server;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 12 00:14:22 GMT 2020
    - 5.4K bytes
    - Viewed (0)
  7. configure.py

        ask_for_var: string for how to ask for user input.
        var_default: default value string.
    
      Returns:
        string value for var_name
      """
      var = environ_cp.get(var_name)
      if not var:
        var = get_input(ask_for_var)
        print('\n')
      if not var:
        var = var_default
      return var
    
    
    def prompt_loop_or_load_from_env(environ_cp,
    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)
  8. tensorflow/c/c_api_experimental.cc

        TFE_Context* ctx, const char* task, int64_t timeout_in_ms,
        TF_Status* status) {
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      auto collective_executor_handle = context->GetCollectiveExecutorHandle();
      tensorflow::Notification done;
      collective_executor_handle->get()->remote_access()->CheckPeerHealth(
          task, timeout_in_ms, [&done, status](const Status& s) {
    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)
  9. tensorflow/c/c_api_experimental.h

    // multi worker collective ops to detect failures in the cluster.  If a peer is
    // down, collective ops may hang.
    TF_CAPI_EXPORT extern void TFE_CollectiveOpsCheckPeerHealth(
        TFE_Context* ctx, const char* task, int64_t timeout_in_ms,
        TF_Status* status);
    
    // Information about the shape of a Tensor and its type.
    struct TF_ShapeAndType {
      // Number of dimensions. -1 indicates unknown rank.
      int num_dims;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tape.h

    // gradients available initially).
    //
    // Then we repeatedly pop an entry from the stack, run its backprop, and update
    // the gradients of its inputs. Once we have computed all gradients for a single
    // input we can mark this input as done, and this can trigger adding an entry to
    // the stack if all outputs of that entry are now done.
    //
    // When the stack is empty we have gradients for all tensors we're interested
    // in.
    
    namespace {
    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)
Back to top