- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for SetAttrStringList (0.26 sec)
-
tensorflow/c/eager/abstract_operation.h
AbstractTensorInterface* tensor) = 0; virtual Status SetAttrStringList(const char* attr_name, const void* const* values, const size_t* lengths, int num_values) = 0; virtual Status SetAttrStringList(const char* attr_name, absl::Span<string const> values);
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) -
tensorflow/c/experimental/gradients/tape/tape_operation.h
size_t length) override; Status SetAttrTensor(const char* attr_name, AbstractTensorInterface* tensor) override; Status SetAttrStringList(const char* attr_name, const void* const* values, const size_t* lengths, int num_values) override; Status SetAttrFloatList(const char* attr_name, const float* values,
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 3.7K bytes - Viewed (1) -
tensorflow/c/experimental/gradients/tape/tape_operation.cc
AbstractTensorInterface* tensor) { return tensorflow::errors::Unimplemented( "SetAttrTensor has not been implemented yet."); } Status TapeOperation::SetAttrStringList(const char* attr_name, const void* const* values, const size_t* lengths, int num_values) { std::vector<StringPiece> v(num_values);
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jun 07 01:53:35 GMT 2022 - 9K bytes - Viewed (1) -
tensorflow/c/eager/gradients_internal.h
const char* value, size_t length, ForwardOperation*); Status SetAttrTensor(AbstractOperation*, const char* attr_name, AbstractTensorInterface* tensor, ForwardOperation*); Status SetAttrStringList(AbstractOperation*, const char* attr_name, const void* const* values, const size_t* lengths, int num_values, ForwardOperation*);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:35 GMT 2021 - 4.2K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
AbstractTensorInterface* tensor, ForwardOperation* forward_op_) { return tensorflow::errors::Unimplemented( "SetAttrTensor has not been implemented yet."); } Status SetAttrStringList(AbstractOperation* op_, const char* attr_name, const void* const* values, const size_t* lengths, int num_values, ForwardOperation* forward_op_) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
AbstractTensorInterface* tensor) override { return tensorflow::errors::Unimplemented( "SetAttrTensor has not been implemented yet."); } Status SetAttrStringList(const char* attr_name, const void* const* values, const size_t* lengths, int num_values) override { if (strcmp(attr_name, tensorflow::kColocationAttrName) == 0) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
const std::vector<string>& list) { std::unique_ptr<const void*[]> list_ptrs; std::unique_ptr<size_t[]> list_lens; StringVectorToArrays(list, &list_ptrs, &list_lens); TF_SetAttrStringList(desc, tensorflow::kColocationAttrName, list_ptrs.get(), list_lens.get(), list.size()); } void SetViaProto(TF_OperationDescription* desc,
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) -
tensorflow/c/eager/c_api.cc
void TFE_OpSetAttrStringList(TFE_Op* op, const char* attr_name, const void* const* values, const size_t* lengths, int num_values) { auto s = tensorflow::unwrap(op)->SetAttrStringList(attr_name, values, lengths, num_values); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
tensorflow/c/c_api.h
// `values` and `lengths` each must have lengths `num_values`. // `values[i]` must point to a string of length `lengths[i]` bytes. TF_CAPI_EXPORT extern void TF_SetAttrStringList(TF_OperationDescription* desc, const char* attr_name, const void* const* values,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/c_api.cc
const void* value, size_t length) { tensorflow::StringPiece s(static_cast<const char*>(value), length); desc->node_builder.Attr(attr_name, s); } void TF_SetAttrStringList(TF_OperationDescription* desc, const char* attr_name, const void* const* values, const size_t* lengths, int num_values) {
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)