Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for design (4.06 sec)

  1. tensorflow/c/c_api_experimental_test.cc

    TEST(CAPI_EXPERIMENTAL, IsStateful) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      int assign = TF_OpIsStateful("AssignAddVariableOp", status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      EXPECT_EQ(assign, 1);
      int id = TF_OpIsStateful("Identity", status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      EXPECT_EQ(id, 0);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_test_util.cc

      TFE_Execute(op, &var_handle, &num_retvals, status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_DeleteOp(op);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      CHECK_EQ(1, num_retvals);
    
      // Assign 'value' to it.
      op = TFE_NewOp(ctx, "AssignVariableOp", status);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_OpSetAttrType(op, "dtype", TF_FLOAT);
      TFE_OpAddInput(op, var_handle, status);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  3. CITATION.cff

    dataflow graph across many machines in a cluster, and within a machine across 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...
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 06 15:26:23 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  4. RELEASE.md

            [guide on input distribution](https://www.tensorflow.org/tutorials/distribute/input).
    *   Allow var.assign on MirroredVariables with aggregation=NONE in replica
        context. Previously this would raise an error. We now allow this because
        many users and library writers find using `.assign` in replica context to be
        more convenient, instead of having to use `Strategy.extended.update` which
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  5. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_GraphCopyFunction(host_graph_, func_, grad_func2, s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Cannot assign gradient function 'MyGrad2' to 'MyFunc' "
                       "because it already has gradient function 'MyGrad1'"),
                string(TF_Message(s_)));
    
      TF_DeleteFunction(grad_func1);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  6. .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 May 07 12:40:20 GMT 2024
    - Last Modified: Tue Feb 07 13:52:04 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. configure.py

            ld_version_int = convert_version_to_int(ld_version[4])
    
          # Enable if 'ld' version >= 2.35
          if ld_version_int >= 2035000:
            write_to_bazelrc(
                'build --copt="-DEIGEN_ALTIVEC_ENABLE_MMA_DYNAMIC_DISPATCH=1"')
    
      with_xla_support = environ_cp.get('TF_ENABLE_XLA', None)
      if with_xla_support is not None:
        write_to_bazelrc('build --define=with_xla_support=%s' %
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  8. 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)
  9. 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)
  10. 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)
Back to top