openfl.utilities.types.LocalTensor#

class openfl.utilities.types.LocalTensor(col_name, tensor, weight)#

Bases: tuple

__init__()#

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

col_name

Alias for field number 0

tensor

Alias for field number 1

weight

Alias for field number 2

col_name#

Alias for field number 0

count(value, /)#

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

tensor#

Alias for field number 1

weight#

Alias for field number 2