- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for attrName (0.05 sec)
-
tensorflow/c/eager/c_api.h
TF_CAPI_EXPORT extern void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name, int64_t value); TF_CAPI_EXPORT extern void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name, float value); TF_CAPI_EXPORT extern void TFE_OpSetAttrBool(TFE_Op* op, const char* attr_name, unsigned char value);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
forward_op_->attrs.Set(attr_name, static_cast<int64_t>(value)); return op_->SetAttrInt(attr_name, value); } absl::Status SetAttrFloat(AbstractOperation* op_, const char* attr_name, float value, ForwardOperation* forward_op_) { forward_op_->attrs.Set(attr_name, value); return op_->SetAttrFloat(attr_name, value); } absl::Status SetAttrBool(AbstractOperation* op_, const char* attr_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
absl::Status SetAttrFloat(const char* attr_name, float value) override { op_->node_builder.Attr(attr_name, value); return absl::OkStatus(); } absl::Status SetAttrBool(const char* attr_name, bool value) override { op_->node_builder.Attr(attr_name, value); return absl::OkStatus(); } absl::Status SetAttrType(const char* const attr_name, DataType value) override { if (!op_) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
} } void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name, int64_t value) { auto s = tensorflow::unwrap(op)->SetAttrInt(attr_name, value); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } } void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name, float value) { auto s = tensorflow::unwrap(op)->SetAttrFloat(attr_name, value); if (!s.ok()) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0) -
tensorflow/c/eager/gradients_internal.h
absl::Status SetAttrString(AbstractOperation*, const char* attr_name, const char* data, size_t length, ForwardOperation*); absl::Status SetAttrInt(AbstractOperation*, const char* attr_name, int64_t value, ForwardOperation*); absl::Status SetAttrFloat(AbstractOperation*, const char* attr_name, float value, ForwardOperation*);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/c/eager/abstract_op_attrs.h
virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0; virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0; virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0; virtual absl::Status GetTypeList( absl::string_view attr_name, absl::InlinedVector<DataType, 4>* type_list) const = 0; private:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/c/c_api.cc
} desc->node_builder.Attr(attr_name, v); } } void TF_SetAttrInt(TF_OperationDescription* desc, const char* attr_name, int64_t value) { desc->node_builder.Attr(attr_name, static_cast<int64_t>(value)); } void TF_SetAttrIntList(TF_OperationDescription* desc, const char* attr_name, const int64_t* values, int num_values) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
} (*(fdef_or.value()->mutable_attr()))[string(attr_name)] = attr_value; status->status = absl::OkStatus(); } void TF_FunctionGetAttrValueProto(TF_Function* func, const char* attr_name, TF_Buffer* output_attr_value, TF_Status* status) { const auto& it = func->record->fdef().attr().find(attr_name); if (it == func->record->fdef().attr().end()) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 13.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
void TF_AttrBuilderSetType(TF_AttrBuilder* builder, const char* attr_name, TF_DataType value) { auto iter = builder->attr_names.insert(attr_name).first; builder->Set(*iter, static_cast<tensorflow::DataType>(value)); } void TF_AttrBuilderSetTypeList(TF_AttrBuilder* builder, const char* attr_name, const TF_DataType* values, int num_values) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
import org.mortbay.jetty.handler.HandlerList; /** * @author shinsuke * */ public class ApiExtractorTest extends PlainTestCase { final int port = 9876; final String ATTR_NAME = "filedata"; private TestApiExtractorServer server; private ApiExtractor extractor; @Override protected void setUp() throws Exception { super.setUp();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.4K bytes - Viewed (0)