Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_DeleteExecutionContext (0.26 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

      float* result_value = static_cast<float*>(TF_TensorData(result_tensor));
      EXPECT_EQ(*result_value, 4.0);
    
      TF_DeleteTensor(result_tensor);
      TF_DeleteAbstractTensor(result);
      TF_DeleteOutputList(o);
      TF_DeleteExecutionContext(ctx);
    }
    
    // MatMul Test
    TEST_P(UnifiedCAPI, TestBasicEagerMatMul) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 39.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental.cc

        return nullptr;
      }
      tsl::Set_TF_Status_from_Status(s,
                                     tracing_ctx->Finalize(unwrap(outputs), &func));
      TF_DeleteExecutionContext(ctx);
      return wrap(func);
    }
    
    TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func,
                                               TF_DataType dtype, TF_Shape shape,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 10:15:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental.h

    // Creates a context for eager execution of operations.
    TF_ExecutionContext* TF_NewEagerExecutionContext(TFE_ContextOptions*,
                                                     TF_Status* s);
    void TF_DeleteExecutionContext(TF_ExecutionContext*);
    
    // Represents a (partially-defined) shape.
    typedef struct TF_Shape {
      int num_dims;  // Must be >= -1; -1 represents unknown rank.
      int64_t* dim_sizes;
    } TF_Shape;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Oct 24 11:27:00 UTC 2021
    - 7K bytes
    - Viewed (0)
Back to top