- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for SetAttrTypeList (0.23 sec)
-
tensorflow/c/experimental/gradients/tape/tape_operation.h
int num_values) override; Status SetAttrIntList(const char* attr_name, const int64_t* values, int num_values) override; Status SetAttrTypeList(const char* attr_name, const DataType* values, int num_values) override; Status SetAttrBoolList(const char* attr_name, const unsigned char* values, int num_values) override;
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
return parent_op_->SetAttrIntList(attr_name, values, num_values); } Status TapeOperation::SetAttrTypeList(const char* attr_name, const DataType* values, int num_values) { forward_op_.attrs.Set(attr_name, gtl::ArraySlice<const DataType>(values, num_values)); return parent_op_->SetAttrTypeList(attr_name, values, num_values); } Status TapeOperation::SetAttrBoolList(const char* attr_name,
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
Status SetAttrIntList(AbstractOperation*, const char* attr_name, const int64_t* values, int num_values, ForwardOperation*); Status SetAttrTypeList(AbstractOperation*, const char* attr_name, const DataType* values, int num_values, ForwardOperation*); Status SetAttrBoolList(AbstractOperation*, const char* attr_name,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:35 GMT 2021 - 4.2K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
int num_values) = 0; virtual Status SetAttrIntList(const char* attr_name, const int64_t* values, int num_values) = 0; virtual Status SetAttrTypeList(const char* attr_name, const DataType* values, int num_values) = 0; virtual Status SetAttrBoolList(const char* attr_name, const unsigned char* values,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
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) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
op_->node_builder.Attr( attr_name, ArraySlice<const int64_t>( reinterpret_cast<const int64_t*>(values), num_values)); return absl::OkStatus(); } Status SetAttrTypeList(const char* attr_name, const DataType* values, int num_values) override { op_->node_builder.Attr(attr_name, ArraySlice<const DataType>(values, num_values));
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/eager/c_api.cc
} } void TFE_OpSetAttrTypeList(TFE_Op* op, const char* attr_name, const TF_DataType* values, int num_values) { auto s = tensorflow::unwrap(op)->SetAttrTypeList( attr_name, reinterpret_cast<const tensorflow::DataType*>(values), num_values); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } }
C++ - Registered: Tue Apr 23 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
TF_CAPI_EXPORT extern void TF_SetAttrType(TF_OperationDescription* desc, const char* attr_name, TF_DataType value); TF_CAPI_EXPORT extern void TF_SetAttrTypeList(TF_OperationDescription* desc, const char* attr_name, const TF_DataType* values,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/c_api_test.cc
TEST_F(CApiAttributesTest, TypeList) { const TF_DataType list[] = {TF_FLOAT, TF_DOUBLE, TF_HALF, TF_COMPLEX128}; const size_t list_size = TF_ARRAYSIZE(list); auto desc = init("list(type)"); TF_SetAttrTypeList(desc, "v", list, list_size); auto oper = TF_FinishOperation(desc, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_DataType values[list_size];
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/c_api.cc
} void TF_SetAttrType(TF_OperationDescription* desc, const char* attr_name, TF_DataType value) { desc->node_builder.Attr(attr_name, static_cast<DataType>(value)); } void TF_SetAttrTypeList(TF_OperationDescription* desc, const char* attr_name, const TF_DataType* values, int num_values) { desc->node_builder.Attr( attr_name, ArraySlice<const DataType>(
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)