Class: GTE::Config::Text

Inherits:
Data
  • Object
show all
Defined in:
lib/gte/config.rb

Instance Attribute Summary collapse

Instance Attribute Details

#execution_providersObject (readonly)

Returns the value of attribute execution_providers

Returns:

  • (Object)

    the current value of execution_providers



5
6
7
# File 'lib/gte/config.rb', line 5

def execution_providers
  @execution_providers
end

#max_lengthObject (readonly)

Returns the value of attribute max_length

Returns:

  • (Object)

    the current value of max_length



5
6
7
# File 'lib/gte/config.rb', line 5

def max_length
  @max_length
end

#model_dirObject (readonly)

Returns the value of attribute model_dir

Returns:

  • (Object)

    the current value of model_dir



5
6
7
# File 'lib/gte/config.rb', line 5

def model_dir
  @model_dir
end

#model_nameObject (readonly)

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



5
6
7
# File 'lib/gte/config.rb', line 5

def model_name
  @model_name
end

#normalizeObject (readonly)

Returns the value of attribute normalize

Returns:

  • (Object)

    the current value of normalize



5
6
7
# File 'lib/gte/config.rb', line 5

def normalize
  @normalize
end

#optimization_levelObject (readonly)

Returns the value of attribute optimization_level

Returns:

  • (Object)

    the current value of optimization_level



5
6
7
# File 'lib/gte/config.rb', line 5

def optimization_level
  @optimization_level
end

#output_tensorObject (readonly)

Returns the value of attribute output_tensor

Returns:

  • (Object)

    the current value of output_tensor



5
6
7
# File 'lib/gte/config.rb', line 5

def output_tensor
  @output_tensor
end

#threadsObject (readonly)

Returns the value of attribute threads

Returns:

  • (Object)

    the current value of threads



5
6
7
# File 'lib/gte/config.rb', line 5

def threads
  @threads
end