StringValue¶
- class verta.data_types.StringValue(value)¶
Representation of a string.
- Parameters:
value (str) – String.
Examples
from verta.data_types import StringValue data = StringValue("RNN") run.log_attribute("architecture", data)
- diff(other)¶
Calculate the difference between other and this value.
- Parameters:
other (
StringValue
) – Value to calculate difference from.- Returns:
int – 0 if the strings are equal, otherwise 1.