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.



835
836
837
838
839
840
841
842
843
844
845
846
847
848
# File 'proto_docs/google/cloud/documentai/v1beta3/document_processor_service.rb', line 835

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