Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Trabing (0.18 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.cc

    using tensorflow::Status;
    using tensorflow::unwrap;
    using tensorflow::wrap;
    using tensorflow::tracing::CreateTracingExecutionContext;
    using tensorflow::tracing::SetDefaultTracingEngine;
    using tensorflow::tracing::TracingContext;
    using tensorflow::tracing::TracingOperation;
    using tensorflow::tracing::TracingTensorHandle;
    
    void TF_SetTracingImplementation(const char* name, TF_Status* s) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/nn_grad.cc

                        absl::Span<AbstractTensorHandle*> outputs) {
      if (!isa<ImmediateExecutionContext>(ctx)) {
        // TODO(b/168850692): Fix this.
        return errors::Unimplemented(
            "BroadcastMul is not supported in tracing mode yet.");
      }
      auto imm_ctx = dyn_cast<ImmediateExecutionContext>(ctx);
      AbstractTensorPtr minus_1(imm_ctx->CreateInt32Scalar(-1));
      ImmediateTensorHandlePtr dim(imm_ctx->CreateLocalHandle(minus_1.get()));
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients.cc

                     AbstractTensorHandle** result) {
      AbstractOperationPtr op(ctx->CreateOperation());
      TF_RETURN_IF_ERROR(op->Reset("ZerosLike", /*raw_device_name=*/nullptr));
      if (isa<tracing::TracingOperation>(op.get())) {
        TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingOperation>(op.get())->SetOpName(
            absl::StrCat("ZerosLike", ToId(t)).c_str()));
      }
      TF_RETURN_IF_ERROR(op->AddInput(t));
      int num_outputs = 1;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradients_test.cc

    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace internal {
    namespace {
    using std::vector;
    using tensorflow::TF_StatusPtr;
    using tracing::TracingOperation;
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

    // Allows a single op at a time to be launched without blocking.
    //
    // DeviceThread itself is thread-safe, in that StartExecute will block if there
    // is a pending execution. Since StartExecute is equivalent to grabbing a lock,
    // multiple DeviceThreads should always be accessed in the same order to avoid
    // deadlocks.
    class DeviceThread {
     public:
      // Starts a background thread waiting for `StartExecute`.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  6. tensorflow/c/eager/graph_function.cc

    #include <utility>
    
    #include "tensorflow/c/eager/abstract_function.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    namespace tracing {
    namespace graph {
    GraphFunction::GraphFunction(FunctionDef fdef)
        : AbstractFunction(kGraph),
          func_record_(new FunctionRecord(std::move(fdef), {}, true)) {}
    GraphFunction::~GraphFunction() {}
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/nn_grad_test.cc

    TEST_P(CppGradients, TestSparseSoftmaxCrossEntropyWithLogitsGrad) {
      if (UseFunction()) {
        // TODO(b/168850692): Enable this.
        GTEST_SKIP() << "Can't take gradient of "
                        "SparseSoftmaxCrossEntropyWithLogits in tracing mode.";
      }
    
      // Score
      float X_vals[] = {1.0f, 2.0f, 3.0f, -5.0f, -4.0f, -3.0f, 2.0f, 0.0f, -1.0f};
      int64_t X_dims[] = {3, 3};
      AbstractTensorHandlePtr X;
      {
        AbstractTensorHandle* X_raw;
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_test.cc

      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get()));
    
      TF_DeleteExecutionContext(graph_ctx);
    }
    
    // The above tests are run for a combination of:
    // - graphdef and MLIR tracing engine
    INSTANTIATE_TEST_SUITE_P(Tracing, UnifiedCAPI,
                             ::testing::Combine(::testing::Values("graphdef",
                                                                  "mlir"),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tracing_utils.cc

    #include "tensorflow/c/eager/tracing_utils.h"
    
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_operation.h"
    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    namespace tracing {
    
    Status MaybeSetOpName(AbstractOperation* op, const char* op_name) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/unified_api_test.cc

    TEST_P(UnifiedAPI, TestUnknownShapeTracing) {
      if (!UseFunction()) {
        GTEST_SKIP() << "Tracing only test.";
      }
      if (UseMlir()) {
        // TODO(b/173074167): Remove this.
        GTEST_SKIP() << "MlirTensor::Shape is not implemented yet.";
      }
      AbstractContextPtr ctx(BuildFunction("test_fn"));
      AbstractTensorHandlePtr x;
      {
        tracing::TracingTensorHandle* x_raw = nullptr;
        PartialTensorShape shape;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top