Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Conlay (0.17 sec)

  1. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    // SECTION 3. Implementation for `TF_ReadOnlyMemoryRegion`
    // ----------------------------------------------------------------------------
    namespace tf_read_only_memory_region {
    
    // TODO(b/139060984): Implement later
    
    }  // namespace tf_read_only_memory_region
    
    // SECTION 4. Implementation for `TF_Filesystem`, the actual filesystem
    // ----------------------------------------------------------------------------
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental.cc

    }  // end namespace tensorflow
    
    // =============================================================================
    // Public C API entry points
    //
    // These are only the generic entry points for the C API. This file does not
    // have any visibility into the graph/eager implementation and is only providing
    // C bindings to the abstract classes defined in the
    // c_api_unified_experimental_internal.h header.
    //
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/nn_grad.cc

      }
      ~ReluGradientFunction() override {
        for (auto output : forward_outputs_) {
          if (output) {
            output->Unref();
          }
        }
      }
    
     private:
      // TODO(b/174778737): Only hold needed outputs.
      vector<AbstractTensorHandle*> forward_outputs_;
    };
    
    Status BroadcastMul(AbstractContext* ctx, AbstractTensorHandle* vec,
                        AbstractTensorHandle* mat,
    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)
  4. tensorflow/c/c_api.cc

          if (!status->status.ok()) {
            // Contract is we always delete input_values[i].
            return false;
          }
          // Note: session->session is not modified if Extend() fails, so
          // we only set last_num_graph_nodes if it succeeds.
          session->last_num_graph_nodes = num_nodes;
        } else {
          session->graph->mu.unlock();
        }
      }
      return true;
    }
    
    }  // namespace tensorflow
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->read_only_memory_region_ops = static_cast<TF_ReadOnlyMemoryRegionOps*>(
          plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE));
      ops->read_only_memory_region_ops->cleanup =
          tf_read_only_memory_region::Cleanup;
      ops->read_only_memory_region_ops->data = tf_read_only_memory_region::Data;
      ops->read_only_memory_region_ops->length = tf_read_only_memory_region::Length;
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental_eager.cc

    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/strcat.h"
    
    // =============================================================================
    // Public C API entry points
    // These are only the entry points specific to the Eager API.
    // =============================================================================
    
    using tensorflow::AbstractContext;
    using tensorflow::AbstractTensorHandle;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jun 25 04:40:46 GMT 2020
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/c/env_test.cc

        const char* childpath;
        ASSERT_TRUE(TF_StringStreamNext(children, &childpath));
        ASSERT_EQ(::tensorflow::string(childpath), "somefile.txt");
        // There should only be one file in this directory.
        ASSERT_FALSE(TF_StringStreamNext(children, &childpath));
        ASSERT_EQ(childpath, nullptr);
        TF_StringStreamDone(children);
    
        TF_FileStatistics stats;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradients.cc

    };
    
    // Returns the number of elements in the gradient tensor.
    int64_t TapeVSpace::NumElements(AbstractTensorHandle* tensor) const {
      // TODO(srbs): It seems like this is used only for performance optimization
      // and not for correctness. The only downside of keeping this 1 seems to be
      // that the gradient accumulation is unbounded and we will never
      // aggressively aggregate accumulated gradients to recover memory.
    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)
  9. tensorflow/c/eager/dlpack.cc

                                    TF_DataType* tf_dtype) {
      switch (dtype.code) {
        case DLDataTypeCode::kDLBool:
          if (dtype.bits != 8) {
            return tensorflow::errors::InvalidArgument(
                "Only DLPack bools of bitwidth 8 are supported, got: ", dtype.bits);
          }
          *tf_dtype = TF_DataType::TF_BOOL;
          return absl::OkStatus();
    
        case DLDataTypeCode::kDLUInt:
          switch (dtype.bits) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ASSERT_TF_OK(status_);
      auto length = tf_read_only_memory_region::Length(region);
      ASSERT_EQ(length, content_view.length());
      auto data =
          static_cast<const char*>(tf_read_only_memory_region::Data(region));
      ASSERT_TRUE(CompareSubString(0, content_view.length(), data, length));
    
      tf_read_only_memory_region::Cleanup(region);
      delete region;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
Back to top