Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Glass (0.21 sec)

  1. tensorflow/c/experimental/gradients/nn_grad.cc

    using std::vector;
    using tensorflow::ops::BiasAddGrad;
    using tensorflow::ops::Mul;
    using tensorflow::ops::ReluGrad;
    
    namespace tensorflow {
    namespace gradients {
    namespace {
    
    class ReluGradientFunction : public GradientFunction {
     public:
      explicit ReluGradientFunction(vector<AbstractTensorHandle*> f_outputs)
          : forward_outputs_(f_outputs) {
        for (auto output : forward_outputs_) {
    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)
  2. tensorflow/c/experimental/gradients/custom_gradient_test.cc

    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace internal {
    namespace {
    using std::vector;
    
    class CustomGradientTest
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/array_grad.cc

    #include "tensorflow/c/experimental/gradients/array_grad.h"
    
    #include "tensorflow/c/eager/abstract_context.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace {
    class IdentityNGradientFunction : public GradientFunction {
     public:
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/math_grad_test.cc

                         absl::Span<AbstractTensorHandle* const> inputs,
                         absl::Span<AbstractTensorHandle*> outputs) {
      return ops::DivNoNan(ctx, inputs[0], inputs[1], &outputs[0], "DivNoNan");
    }
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.cc

                                           TF_Status* status) {
      status->status = tensorflow::FindKernelDef(
          tensorflow::DeviceType(device_type), builder->BuildNodeDef(),
          /* def = */ nullptr, /* kernel_class_name = */ nullptr);
    }
    
    const char* TF_GetNumberAttrForOpListInput(const char* op_name, int input_index,
                                               TF_Status* status) {
      const tensorflow::OpDef* op_def = nullptr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  6. tensorflow/c/checkpoint_reader.cc

    #include "tensorflow/core/util/saved_tensor_slice_util.h"
    #include "tensorflow/core/util/tensor_bundle/naming.h"
    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    
    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    CheckpointReader::CheckpointReader(const string& filename, TF_Status* status)
        : reader_(nullptr),
          v2_reader_(nullptr),
          var_to_shape_map_(nullptr),
          var_to_data_type_map_(nullptr) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/nn_grad_test.cc

                        absl::Span<AbstractTensorHandle*> outputs) {
      return ops::BiasAdd(ctx, inputs[0], inputs[1], &outputs[0], "NHWC",
                          "BiasAdd");
    }
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
    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/c_api_test.cc

      ptrs->reset(new const void*[v.size()]);
      lens->reset(new size_t[v.size()]);
      for (size_t i = 0; i < v.size(); ++i) {
        (*ptrs)[i] = v[i].data();
        (*lens)[i] = v[i].size();
      }
    }
    
    class CApiColocationTest : public ::testing::Test {
     protected:
      CApiColocationTest() : s_(TF_NewStatus()), graph_(TF_NewGraph()) {}
    
      void SetUp() override {
        feed1_ = Placeholder(graph_, s_, "feed1");
    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)
  9. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    #include "tsl/platform/errors.h"
    
    // TODO(b/139060984): After all filesystems are converted, all calls to
    // methods from `FileSystem` will have to be replaced to calls to private
    // methods here, as part of making this class a singleton and the only way to
    // register/use filesystems.
    
    namespace tensorflow {
    
    using UniquePtrTo_TF_Status =
        ::std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)>;
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // fixture to create new directories in `SetUp`. Each directory will reside in
    // `::testing::TempDir()`, will use a RNG component and the test name. This
    // ensures that two consecutive runs are unlikely to clash.
    class ModularFileSystemTest : public ::testing::TestWithParam<std::string> {
     public:
      // Initializes `root_dir_` to a unique value made of `::testing::TempDir()`, a
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top