Class: Google::Cloud::DocumentAI::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1/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::V1::TrainProcessorVersionRequest::CustomDocumentExtractionOptions::TrainingMethod

Returns Training method to use for CDE training.



764
765
766
767
768
769
770
771
772
773
774
775
776
777
# File 'proto_docs/google/cloud/documentai/v1/document_processor_service.rb', line 764

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

  # Training Method for CDE. `TRAINING_METHOD_UNSPECIFIED` will fall back to
  # `MODEL_BASED`.
  module TrainingMethod
    TRAINING_METHOD_UNSPECIFIED = 0

    MODEL_BASED = 1

    TEMPLATE_BASED = 2
  end
end