Class: Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::CustomDocumentExtractionOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb

Overview

Options to control the training of the Custom Document Extraction (CDE) Processor.

Defined Under Namespace

Modules: TrainingMethod

Instance Attribute Summary collapse

Instance Attribute Details

#training_method::Google::Cloud::DocumentAI::V1beta3::TrainProcessorVersionRequest::CustomDocumentExtractionOptions::TrainingMethod

Returns Training method to use for CDE training.



726
727
728
729
730
731
732
733
734
735
736
737
738
739
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 726

class CustomDocumentExtractionOptions
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Training Method for CDE. TRAINING_METHOD_UNSPECIFIED will fallback to
  # MODEL_BASED.
  module TrainingMethod
    TRAINING_METHOD_UNSPECIFIED = 0

    MODEL_BASED = 1

    TEMPLATE_BASED = 2
  end
end