Class: Cohere::Transcribe::PyTorchCheckpoint::TensorSpec

Inherits:
Data
  • Object
show all
Defined in:
lib/cohere/transcribe/pytorch_checkpoint.rb

Instance Attribute Summary collapse

Instance Attribute Details

#shapeObject (readonly)

Returns the value of attribute shape

Returns:

  • (Object)

    the current value of shape



44
45
46
# File 'lib/cohere/transcribe/pytorch_checkpoint.rb', line 44

def shape
  @shape
end

#storageObject (readonly)

Returns the value of attribute storage

Returns:

  • (Object)

    the current value of storage



44
45
46
# File 'lib/cohere/transcribe/pytorch_checkpoint.rb', line 44

def storage
  @storage
end

#storage_offsetObject (readonly)

Returns the value of attribute storage_offset

Returns:

  • (Object)

    the current value of storage_offset



44
45
46
# File 'lib/cohere/transcribe/pytorch_checkpoint.rb', line 44

def storage_offset
  @storage_offset
end

#strideObject (readonly)

Returns the value of attribute stride

Returns:

  • (Object)

    the current value of stride



44
45
46
# File 'lib/cohere/transcribe/pytorch_checkpoint.rb', line 44

def stride
  @stride
end