Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for mown (0.19 sec)

  1. tensorflow/c/eager/parallel_device/BUILD

        ],
    )
    
    tf_cc_test(
        name = "parallel_device_remote_test",
        srcs = ["parallel_device_remote_test.cc"],
        # TODO(b/136478427): Enable global heap checking when servers shut down
        # cleanly.
        args = ["--heap_check="],
        deps = [
            ":parallel_device",
            ":parallel_device_testlib",
            "//tensorflow/c:c_api",
            "//tensorflow/c:c_api_experimental",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 01 20:19:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_AbstractFunction* func =
          TF_FinalizeFunction(graph_ctx, add_outputs, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      // Note: TF_OutputList does not own the underlying AbstractTensors, those
      // need to be deleted explicitly.
      TF_DeleteAbstractTensor(TF_OutputListGet(add_outputs, 0));
    
      // Build eager context.
      TFE_ContextOptions* opts = TFE_NewContextOptions();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

                                  &Deallocator, &deallocator_called);
    
      TF_Tensor* o = TF_TensorMaybeMove(t);
      ASSERT_TRUE(o == nullptr);  // It is unsafe to move memory TF might not own.
      TF_DeleteTensor(t);
      EXPECT_TRUE(deallocator_called);
    }
    
    TEST(CAPI, LibraryLoadFunctions) {
      // TODO(b/73318067): Fix linking for the GPU test generated by the
    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)
  4. tensorflow/c/eager/abstract_operation.h

      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
      // clients from directly destroying this object since it may manage it's own
      // lifetime through ref counting. Thus this must be allocated on the heap and
      // clients MUST call Release() in order to destroy an instance of this class.
      virtual void Release() = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    }
    
    # It's unclear why, but running this on //tensorflow/... is faster than running
    # only on affected targets, usually. There are targets in //tensorflow/lite that
    # don't pass --nobuild, so they're on their own.
    #
    # Although buildifier checks for formatting as well, "bazel build nobuild"
    # checks for cross-file issues like bad includes or missing BUILD definitions.
    #
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

      tensorflow::TensorProto from_tensor_proto;
      status->status = BufferToMessage(from, &from_tensor_proto);
      if (!status->status.ok()) {
        return;
      }
      status->status =
          tensorflow::down_cast<tensorflow::TensorInterface*>(to->tensor)
              ->FromProto(from_tensor_proto);
    }
    // --------------------------------------------------------------------------
    
    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)
  7. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

      if (!status.ok()) {
        CHECK_OK(pjrt::SetPjrtApi(DEVICE_CPU, GetPjrtApi()));
      }
      auto pjrt_client = xla::GetCApiClient(DEVICE_CPU);
      CHECK_OK(pjrt_client.status());
      auto c_api_client = down_cast<xla::PjRtCApiClient*>(pjrt_client->get());
      std::vector<int32_t> data(1, 0);
      xla::Shape shape = xla::ShapeUtil::MakeShape(xla::S32, {1});
    
      auto buffer = c_api_client->pjrt_c_client()->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)
  8. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_ContextRemoveFunction(ctx, "AddVariablesFunction", status);
      TFE_DeleteContext(ctx);
    
      TF_DeleteStatus(status);
    
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server1.release();
      worker_server2.release();
    }
    
    TEST(CAPI, TestLocalFunctionWithPackedInput) {
      TestFunctionWithPackedInput(/*remote=*/false);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_context.h

      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
      // clients from directly destroying this object since it may manage its own
      // lifetime through ref counting. Thus clients MUST call Release() in order to
      // destroy an instance of this class.
      virtual void Release() = 0;
    
      // Creates an operation builder and ties it to this context.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device.cc

    using MaybeParallelTensorOwned =
        absl::variant<std::unique_ptr<ParallelTensor>, TensorHandlePtr>;
    
    using MaybeParallelTensorUnowned =
        absl::variant<ParallelTensor*, TFE_TensorHandle*>;
    
    // A ParallelDevice on its own is not registered with a TFE_Context, and so has
    // no device name (e.g. for `tf.device`). `NamedParallelDevice` associates a
    // name with it, which lets us pack its `ParallelTensor`s into TFE_TensorHandles
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
Back to top