Class: TencentCloud::Tione::V20211111::InferTemplateGroup

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20211111/models.rb

Overview

推理镜像组

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(framework = nil, frameworkversion = nil, groups = nil, infertemplates = nil) ⇒ InferTemplateGroup

Returns a new instance of InferTemplateGroup.



4916
4917
4918
4919
4920
4921
# File 'lib/v20211111/models.rb', line 4916

def initialize(framework=nil, frameworkversion=nil, groups=nil, infertemplates=nil)
  @Framework = framework
  @FrameworkVersion = frameworkversion
  @Groups = groups
  @InferTemplates = infertemplates
end

Instance Attribute Details

#FrameworkObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Framework:

    算法框架

  • FrameworkVersion:

    版本号

  • Groups:

    支持的训练框架集合

  • InferTemplates:

    镜像模板参数列表



4914
4915
4916
# File 'lib/v20211111/models.rb', line 4914

def Framework
  @Framework
end

#FrameworkVersionObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Framework:

    算法框架

  • FrameworkVersion:

    版本号

  • Groups:

    支持的训练框架集合

  • InferTemplates:

    镜像模板参数列表



4914
4915
4916
# File 'lib/v20211111/models.rb', line 4914

def FrameworkVersion
  @FrameworkVersion
end

#GroupsObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Framework:

    算法框架

  • FrameworkVersion:

    版本号

  • Groups:

    支持的训练框架集合

  • InferTemplates:

    镜像模板参数列表



4914
4915
4916
# File 'lib/v20211111/models.rb', line 4914

def Groups
  @Groups
end

#InferTemplatesObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Framework:

    算法框架

  • FrameworkVersion:

    版本号

  • Groups:

    支持的训练框架集合

  • InferTemplates:

    镜像模板参数列表



4914
4915
4916
# File 'lib/v20211111/models.rb', line 4914

def InferTemplates
  @InferTemplates
end

Instance Method Details

#deserialize(params) ⇒ Object



4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
# File 'lib/v20211111/models.rb', line 4923

def deserialize(params)
  @Framework = params['Framework']
  @FrameworkVersion = params['FrameworkVersion']
  @Groups = params['Groups']
  unless params['InferTemplates'].nil?
    @InferTemplates = []
    params['InferTemplates'].each do |i|
      infertemplate_tmp = InferTemplate.new
      infertemplate_tmp.deserialize(i)
      @InferTemplates << infertemplate_tmp
    end
  end
end