Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Design (0.52 sec)

  1. tensorflow/c/c_api.h

    //
    // Questions left to address:
    // * Might at some point need a way for callers to provide their own Env.
    // * Maybe add TF_TensorShape that encapsulates dimension info.
    //
    // Design decisions made:
    // * Backing store for tensor memory has an associated deallocation
    //   function.  This deallocation function will point to client code
    //   for tensors populated by the client.  So the client can do things
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

      tensorflow::Tensor tensor(allocator.get(), DT_FLOAT, {1});
      TF_ASSERT_OK_AND_ASSIGN(
          auto pjrt_client,
          xla::GetTfrtCpuClient(/*asynchronous=*/true, /*cpu_device_count=*/1));
      std::vector<int32_t> data(1, 0);
      xla::Shape shape = xla::ShapeUtil::MakeShape(xla::S32, {1});
      TF_ASSERT_OK_AND_ASSIGN(
          auto buffer,
          pjrt_client->BufferFromHostBuffer(
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // Assigns a new value to the variable.
      void Assign(TFE_Context* context, TFE_TensorHandle* value, TF_Status* status);
      // Adds `value` to the existing value of the variable.
      void AssignAdd(TFE_Context* context, TFE_TensorHandle* value,
                     TF_Status* status);
    
     private:
      // Helper for running any single-argument assignment ops (Assign, AssignAdd,
      // AssignSub, ...).
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

    }
    
    void Variable::AssignAdd(TFE_Context* context, TFE_TensorHandle* value,
                             TF_Status* status) {
      GeneralAssignment("AssignAddVariableOp", context, value, status);
    }
    
    void Variable::Assign(TFE_Context* context, TFE_TensorHandle* value,
                          TF_Status* status) {
      GeneralAssignment("AssignVariableOp", context, value, status);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  5. .github/workflows/create_issue.js

        console.log(pr_resp);
        throw `PR:{pr_number} needs to be valid and closed (merged)`;
      }
      const pr_title = pr_resp.data.title;
      // Assign to PR owner and reviewers
      const assignees = pr_resp.data.assignees.concat(pr_resp.data.requested_reviewers);
      let assignee_logins = assignees.map(x => x.login);
      assignee_logins.push(pr_resp.data.user.login);
    JavaScript
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Oct 18 23:04:59 GMT 2021
    - 2.8K bytes
    - Viewed (0)
  6. SECURITY.md

    `ModelServer` collates all computation graphs exposed to it (from multiple
    `SavedModel`) and executes them in parallel on available executors. Running
    TensorFlow in a multitenant design mixes the risks described above with the
    inherent ones from multitenant configurations. The primary areas of concern are
    tenant isolation, resource allocation, model sharing and hardware attacks.
    
    ### Tenant isolation
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

        std::unique_ptr<CSession> expected_csession(
            new CSession(expected_graph_, s_));
    
        std::vector<TF_Output> grad_outputs_vec;
        grad_outputs_vec.assign(grad_outputs, grad_outputs + 2);
        csession->SetOutputs(grad_outputs_vec);
        csession->Run(s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Tensor* out0 = csession->output_tensor(0);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  8. .github/workflows/trusted_partners.js

        throw "Error adding labels to PR";
      }
      if (assignees.length > 0) {
        const resp_assign = await github.rest.issues.addAssignees({
          issue_number: context.issue.number,
          owner: context.repo.owner,
          repo: context.repo.repo,
          assignees: assignees
        });
        if (resp_assign.status >= 400) {
          console.log(resp_assign);
          throw "Error adding assignee to PR";
        }
      }
    JavaScript
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 07 13:52:04 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  9. CITATION.cff

    multiple computational devices, including multicore CPUs, general purpose GPUs, and custom-designed ASICs known as Tensor Processing Units (TPUs). This architecture gives flexibility to the application developer, whereas in previous “parameter server” designs the management of shared state is built into the system, TensorFlow enables developers to experiment with novel optimizations and training algorithms. TensorFlow supports a variety of applications, with a focus on training and inference on deep neural...
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 06 15:26:23 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  10. configure.py

        # maximum performance should compile TF in their environment and can pass
        # `-march=native` there.
        # See https://github.com/tensorflow/tensorflow/issues/45744 and duplicates
        default_cc_opt_flags = '-Wno-sign-compare'
      question = ('Please specify optimization flags to use during compilation when'
                  ' bazel option "--config=opt" is specified [Default is %s]: '
                 ) % default_cc_opt_flags
    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)
Back to top