Class: TencentCloud::Tke::V20180525::CUDNN

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

Overview

cuDNN的版本信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, version = nil, devname = nil, docname = nil) ⇒ CUDNN

Returns a new instance of CUDNN.



556
557
558
559
560
561
# File 'lib/v20180525/models.rb', line 556

def initialize(name=nil, version=nil, devname=nil, docname=nil)
  @Name = name
  @Version = version
  @DevName = devname
  @DocName = docname
end

Instance Attribute Details

#DevNameObject

Parameters:

  • Name:

    cuDNN的名字

  • Version:

    cuDNN的版本

  • DevName:

    cuDNN的Dev名字

  • DocName:

    cuDNN的Doc名字



554
555
556
# File 'lib/v20180525/models.rb', line 554

def DevName
  @DevName
end

#DocNameObject

Parameters:

  • Name:

    cuDNN的名字

  • Version:

    cuDNN的版本

  • DevName:

    cuDNN的Dev名字

  • DocName:

    cuDNN的Doc名字



554
555
556
# File 'lib/v20180525/models.rb', line 554

def DocName
  @DocName
end

#NameObject

Parameters:

  • Name:

    cuDNN的名字

  • Version:

    cuDNN的版本

  • DevName:

    cuDNN的Dev名字

  • DocName:

    cuDNN的Doc名字



554
555
556
# File 'lib/v20180525/models.rb', line 554

def Name
  @Name
end

#VersionObject

Parameters:

  • Name:

    cuDNN的名字

  • Version:

    cuDNN的版本

  • DevName:

    cuDNN的Dev名字

  • DocName:

    cuDNN的Doc名字



554
555
556
# File 'lib/v20180525/models.rb', line 554

def Version
  @Version
end

Instance Method Details

#deserialize(params) ⇒ Object



563
564
565
566
567
568
# File 'lib/v20180525/models.rb', line 563

def deserialize(params)
  @Name = params['Name']
  @Version = params['Version']
  @DevName = params['DevName']
  @DocName = params['DocName']
end