8#include <google/protobuf/descriptor.h>
9#include <google/protobuf/generated_message_reflection.h>
10#include <google/protobuf/io/coded_stream.h>
11#include <google/protobuf/reflection_ops.h>
12#include <google/protobuf/stubs/common.h>
13#include <google/protobuf/stubs/port.h>
14#include <google/protobuf/wire_format.h>
15#include <google/protobuf/wire_format_lite_inl.h>
17#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
18# include "third_party/protobuf/version.h"
23extern PROTOBUF_INTERNAL_EXPORT_protobuf_tensorflow_2fcore_2fframework_2fgraph_2eproto ::google::
24 protobuf::internal::SCCInfo<3>
30 ::google::protobuf::internal::ExplicitlyConstructed<TFNetworkModel>
_instance;
34static void InitDefaultsTFNetworkModel() {
35 GOOGLE_PROTOBUF_VERIFY_VERSION;
40 ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
46 {ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1,
47 InitDefaultsTFNetworkModel},
80static const ::google::protobuf::internal::MigrationSchema
85static ::google::protobuf::Message
const *
const file_default_instances[] = {
86 reinterpret_cast<const ::google::protobuf::Message *
>(
97 static ::google::protobuf::internal::once_flag once;
110 "\n\017tfnetwork.proto\022\ttesseract\032%tensorflow"
111 "/core/framework/graph.proto\"\233\002\n\016TFNetwor"
112 "kModel\022#\n\005graph\030\001 \001(\0132\024.tensorflow.Graph"
113 "Def\022\023\n\013global_step\030\002 \001(\003\022\014\n\004spec\030\003 \001(\t\022\r"
114 "\n\005depth\030\004 \001(\005\022\016\n\006x_size\030\005 \001(\005\022\016\n\006y_size\030"
115 "\006 \001(\005\022\022\n\nbatch_size\030\010 \001(\005\022\023\n\013num_classes"
116 "\030\t \001(\005\022\021\n\tusing_ctc\030\n \001(\010\022\023\n\013image_input"
117 "\030\013 \001(\t\022\024\n\014image_widths\030\014 \001(\t\022\025\n\rimage_he"
118 "ights\030\r \001(\t\022\024\n\014output_layer\030\016 \001(\tb\006proto"
120 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(descriptor, 361);
121 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"tfnetwork.proto",
127 static ::google::protobuf::internal::once_flag once;
143 const_cast<::tensorflow::GraphDef *
>(::tensorflow::GraphDef::internal_default_instance());
146 if (GetArenaNoVirtual() == NULL && graph_ != NULL) {
151#if !defined(_MSC_VER) || _MSC_VER >= 1900
173 : ::
google::protobuf::Message(), _internal_metadata_(NULL) {
174 _internal_metadata_.MergeFrom(from._internal_metadata_);
175 spec_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
176 if (from.
spec().size() > 0) {
177 spec_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
180 image_input_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
182 image_input_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
185 image_widths_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
187 image_widths_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
190 image_heights_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
192 image_heights_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
193 from.image_heights_);
195 output_layer_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
197 output_layer_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
201 graph_ = new ::tensorflow::GraphDef(*from.graph_);
205 ::memcpy(&global_step_, &from.global_step_,
206 static_cast<size_t>(
reinterpret_cast<char *
>(&using_ctc_) -
207 reinterpret_cast<char *
>(&global_step_)) +
212void TFNetworkModel::SharedCtor() {
213 spec_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
214 image_input_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
215 image_widths_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
216 image_heights_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
217 output_layer_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
219 static_cast<size_t>(
reinterpret_cast<char *
>(&using_ctc_) -
220 reinterpret_cast<char *
>(&graph_)) +
229void TFNetworkModel::SharedDtor() {
230 spec_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
231 image_input_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
232 image_widths_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
233 image_heights_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
234 output_layer_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
239void TFNetworkModel::SetCachedSize(
int size)
const {
240 _cached_size_.Set(size);
254 ::google::protobuf::uint32 cached_has_bits = 0;
256 (void)cached_has_bits;
258 spec_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
259 image_input_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
260 image_widths_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
261 image_heights_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
262 output_layer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
263 if (GetArenaNoVirtual() == NULL && graph_ != NULL) {
267 ::memset(&global_step_, 0,
268 static_cast<size_t>(
reinterpret_cast<char *
>(&using_ctc_) -
269 reinterpret_cast<char *
>(&global_step_)) +
271 _internal_metadata_.Clear();
275#define DO_(EXPRESSION) \
276 if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) \
278 ::google::protobuf::uint32 tag;
281 ::std::pair<::google::protobuf::uint32, bool>
p = input->ReadTagWithCutoffNoLastTag(127u);
285 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
288 if (
static_cast<::google::protobuf::uint8
>(tag) ==
289 static_cast<::google::protobuf::uint8
>(10u )) {
290 DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(input,
mutable_graph()));
299 if (
static_cast<::google::protobuf::uint8
>(tag) ==
300 static_cast<::google::protobuf::uint8
>(16u )) {
301 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
302 ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
303 input, &global_step_)));
312 if (
static_cast<::google::protobuf::uint8
>(tag) ==
313 static_cast<::google::protobuf::uint8
>(26u )) {
314 DO_(::google::protobuf::internal::WireFormatLite::ReadString(input,
316 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
317 this->
spec().data(),
static_cast<int>(this->
spec().length()),
318 ::google::protobuf::internal::WireFormatLite::PARSE,
319 "tesseract.TFNetworkModel.spec"));
328 if (
static_cast<::google::protobuf::uint8
>(tag) ==
329 static_cast<::google::protobuf::uint8
>(32u )) {
330 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
331 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
341 if (
static_cast<::google::protobuf::uint8
>(tag) ==
342 static_cast<::google::protobuf::uint8
>(40u )) {
343 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
344 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
354 if (
static_cast<::google::protobuf::uint8
>(tag) ==
355 static_cast<::google::protobuf::uint8
>(48u )) {
356 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
357 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
367 if (
static_cast<::google::protobuf::uint8
>(tag) ==
368 static_cast<::google::protobuf::uint8
>(64u )) {
369 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
370 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
371 input, &batch_size_)));
380 if (
static_cast<::google::protobuf::uint8
>(tag) ==
381 static_cast<::google::protobuf::uint8
>(72u )) {
382 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
383 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
384 input, &num_classes_)));
393 if (
static_cast<::google::protobuf::uint8
>(tag) ==
394 static_cast<::google::protobuf::uint8
>(80u )) {
395 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
396 bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(input, &using_ctc_)));
405 if (
static_cast<::google::protobuf::uint8
>(tag) ==
406 static_cast<::google::protobuf::uint8
>(90u )) {
407 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
409 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
411 ::google::protobuf::internal::WireFormatLite::PARSE,
412 "tesseract.TFNetworkModel.image_input"));
421 if (
static_cast<::google::protobuf::uint8
>(tag) ==
422 static_cast<::google::protobuf::uint8
>(98u )) {
423 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
425 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
427 ::google::protobuf::internal::WireFormatLite::PARSE,
428 "tesseract.TFNetworkModel.image_widths"));
437 if (
static_cast<::google::protobuf::uint8
>(tag) ==
438 static_cast<::google::protobuf::uint8
>(106u )) {
439 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
441 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
443 ::google::protobuf::internal::WireFormatLite::PARSE,
444 "tesseract.TFNetworkModel.image_heights"));
453 if (
static_cast<::google::protobuf::uint8
>(tag) ==
454 static_cast<::google::protobuf::uint8
>(114u )) {
455 DO_(::google::protobuf::internal::WireFormatLite::ReadString(
457 DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
459 ::google::protobuf::internal::WireFormatLite::PARSE,
460 "tesseract.TFNetworkModel.output_layer"));
472 DO_(::google::protobuf::internal::WireFormat::SkipField(
473 input, tag, _internal_metadata_.mutable_unknown_fields()));
488 ::google::protobuf::io::CodedOutputStream *
output)
const {
490 ::google::protobuf::uint32 cached_has_bits = 0;
491 (void)cached_has_bits;
495 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
496 1, this->_internal_graph(),
output);
501 ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->
global_step(), output);
505 if (this->
spec().size() > 0) {
506 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
507 this->
spec().data(),
static_cast<int>(this->
spec().length()),
508 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"tesseract.TFNetworkModel.spec");
509 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(3, this->
spec(), output);
513 if (this->
depth() != 0) {
514 ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->
depth(), output);
518 if (this->
x_size() != 0) {
519 ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->
x_size(), output);
523 if (this->
y_size() != 0) {
524 ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->
y_size(), output);
529 ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->
batch_size(), output);
534 ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->
num_classes(), output);
539 ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->
using_ctc(), output);
544 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
546 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
547 "tesseract.TFNetworkModel.image_input");
548 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(11, this->
image_input(),
554 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
556 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
557 "tesseract.TFNetworkModel.image_widths");
558 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(12, this->
image_widths(),
564 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
566 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
567 "tesseract.TFNetworkModel.image_heights");
568 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(13, this->
image_heights(),
574 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
576 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
577 "tesseract.TFNetworkModel.output_layer");
578 ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(14, this->
output_layer(),
582 if ((_internal_metadata_.have_unknown_fields() &&
583 ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
584 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
585 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()
586 ? _internal_metadata_.unknown_fields()
587 : _internal_metadata_.default_instance()),
594 bool deterministic, ::google::protobuf::uint8 *target)
const {
597 ::google::protobuf::uint32 cached_has_bits = 0;
598 (void)cached_has_bits;
602 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessageToArray(
603 1, this->_internal_graph(), deterministic, target);
608 target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->
global_step(),
613 if (this->
spec().size() > 0) {
614 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
615 this->
spec().data(),
static_cast<int>(this->
spec().length()),
616 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"tesseract.TFNetworkModel.spec");
618 ::google::protobuf::internal::WireFormatLite::WriteStringToArray(3, this->
spec(), target);
622 if (this->
depth() != 0) {
624 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->
depth(), target);
628 if (this->
x_size() != 0) {
630 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->
x_size(), target);
634 if (this->
y_size() != 0) {
636 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->
y_size(), target);
641 target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->
batch_size(),
647 target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->
num_classes(),
653 target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->
using_ctc(),
659 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
661 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
662 "tesseract.TFNetworkModel.image_input");
663 target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
669 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
671 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
672 "tesseract.TFNetworkModel.image_widths");
673 target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
679 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
681 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
682 "tesseract.TFNetworkModel.image_heights");
683 target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
689 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
691 ::google::protobuf::internal::WireFormatLite::SERIALIZE,
692 "tesseract.TFNetworkModel.output_layer");
693 target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
697 if ((_internal_metadata_.have_unknown_fields() &&
698 ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
699 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
700 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()
701 ? _internal_metadata_.unknown_fields()
702 : _internal_metadata_.default_instance()),
711 size_t total_size = 0;
713 if ((_internal_metadata_.have_unknown_fields() &&
714 ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
715 total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
716 (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()
717 ? _internal_metadata_.unknown_fields()
718 : _internal_metadata_.default_instance()));
721 if (this->
spec().size() > 0) {
722 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(this->
spec());
727 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(this->
image_input());
733 1 + ::google::protobuf::internal::WireFormatLite::StringSize(this->
image_widths());
739 1 + ::google::protobuf::internal::WireFormatLite::StringSize(this->
image_heights());
745 1 + ::google::protobuf::internal::WireFormatLite::StringSize(this->
output_layer());
750 total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*graph_);
755 total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size(this->
global_step());
759 if (this->
depth() != 0) {
760 total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(this->
depth());
764 if (this->
x_size() != 0) {
765 total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(this->
x_size());
769 if (this->
y_size() != 0) {
770 total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(this->
y_size());
775 total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(this->
batch_size());
780 total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size(this->
num_classes());
788 int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
789 SetCachedSize(cached_size);
795 GOOGLE_DCHECK_NE(&from,
this);
797 ::google::protobuf::internal::DynamicCastToGenerated<const TFNetworkModel>(&from);
798 if (source == NULL) {
800 ::google::protobuf::internal::ReflectionOps::Merge(from,
this);
809 GOOGLE_DCHECK_NE(&from,
this);
810 _internal_metadata_.MergeFrom(from._internal_metadata_);
811 ::google::protobuf::uint32 cached_has_bits = 0;
812 (void)cached_has_bits;
814 if (from.
spec().size() > 0) {
815 spec_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
819 image_input_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
823 image_widths_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
827 image_heights_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
828 from.image_heights_);
831 output_layer_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
840 if (from.
depth() != 0) {
887 spec_.Swap(&other->spec_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
888 GetArenaNoVirtual());
889 image_input_.Swap(&other->image_input_,
890 &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
891 GetArenaNoVirtual());
892 image_widths_.Swap(&other->image_widths_,
893 &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
894 GetArenaNoVirtual());
895 image_heights_.Swap(&other->image_heights_,
896 &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
897 GetArenaNoVirtual());
898 output_layer_.Swap(&other->output_layer_,
899 &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
900 GetArenaNoVirtual());
901 swap(graph_, other->graph_);
902 swap(global_step_, other->global_step_);
903 swap(depth_, other->depth_);
904 swap(x_size_, other->x_size_);
905 swap(y_size_, other->y_size_);
906 swap(batch_size_, other->batch_size_);
907 swap(num_classes_, other->num_classes_);
908 swap(using_ctc_, other->using_ctc_);
909 _internal_metadata_.Swap(&other->_internal_metadata_);
922GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::tesseract::TFNetworkModel *
923Arena::CreateMaybeMessage<::tesseract::TFNetworkModel>(Arena *arena) {
924 return Arena::CreateInternal<::tesseract::TFNetworkModel>(arena);
class tesseract::TFNetworkModelDefaultTypeInternal _TFNetworkModel_default_instance_
PROTOBUF_INTERNAL_EXPORT_protobuf_tensorflow_2fcore_2fframework_2fgraph_2eproto ::google::protobuf::internal::SCCInfo< 3 > scc_info_GraphDef
void protobuf_AssignDescriptors()
const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
::google::protobuf::internal::SCCInfo< 1 > scc_info_TFNetworkModel
void protobuf_RegisterTypes(const ::std::string &) GOOGLE_PROTOBUF_ATTRIBUTE_COLD
struct protobuf_tfnetwork_2eproto::StaticDescriptorInitializer static_descriptor_initializer
void protobuf_AssignDescriptorsOnce()
void AddDescriptorsImpl()
::google::protobuf::Metadata file_level_metadata[1]
::google::protobuf::internal::ExplicitlyConstructed< TFNetworkModel > _instance
StaticDescriptorInitializer()
static const ::google::protobuf::uint32 offsets[]
static const ::google::protobuf::Descriptor * descriptor()
static const int kYSizeFieldNumber
bool IsInitialized() const final
static const TFNetworkModel * internal_default_instance()
const ::std::string & image_heights() const
const ::std::string & output_layer() const
void set_x_size(::google::protobuf::int32 value)
static const int kUsingCtcFieldNumber
::google::protobuf::Metadata GetMetadata() const final
static const int kBatchSizeFieldNumber
static void InitAsDefaultInstance()
::std::string * mutable_spec()
::tensorflow::GraphDef * mutable_graph()
void set_y_size(::google::protobuf::int32 value)
static const int kOutputLayerFieldNumber
static constexpr int kIndexInFileMessages
static const int kImageHeightsFieldNumber
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
void Swap(TFNetworkModel *other)
void set_using_ctc(bool value)
::std::string * mutable_output_layer()
friend void swap(TFNetworkModel &a, TFNetworkModel &b)
const ::tensorflow::GraphDef & graph() const
::google::protobuf::int64 global_step() const
::google::protobuf::int32 x_size() const
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
const ::std::string & image_input() const
static const int kXSizeFieldNumber
static const int kGraphFieldNumber
static const int kDepthFieldNumber
static const TFNetworkModel & default_instance()
void set_num_classes(::google::protobuf::int32 value)
void CopyFrom(const ::google::protobuf::Message &from) final
static const int kNumClassesFieldNumber
::google::protobuf::int32 num_classes() const
void set_depth(::google::protobuf::int32 value)
::google::protobuf::int32 depth() const
static const int kImageWidthsFieldNumber
static const int kGlobalStepFieldNumber
const ::std::string & image_widths() const
void set_global_step(::google::protobuf::int64 value)
::std::string * mutable_image_widths()
void MergeFrom(const ::google::protobuf::Message &from) final
static const int kSpecFieldNumber
::std::string * mutable_image_heights()
const ::std::string & spec() const
::google::protobuf::int32 batch_size() const
static const int kImageInputFieldNumber
size_t ByteSizeLong() const final
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
virtual ~TFNetworkModel()
::google::protobuf::int32 y_size() const
::std::string * mutable_image_input()
void set_batch_size(::google::protobuf::int32 value)