Correct a typo in base_layer_utils.
PiperOrigin-RevId: 336753596 Change-Id: I2739ecc8474aa3b37e99039737e640929bcedb66
This commit is contained in:
parent
477cfa2aaa
commit
0237c988a0
@ -847,7 +847,7 @@ def no_ragged_support(inputs, layer_name):
|
|||||||
|
|
||||||
|
|
||||||
def is_split_variable(v):
|
def is_split_variable(v):
|
||||||
"""Returns True if `v` is either a PartionedVariable or a SharedVariable."""
|
"""Returns True if `v` is either a PartionedVariable or a ShardedVariable."""
|
||||||
return hasattr(v, '_variable_list') or hasattr(v, '_variables')
|
return hasattr(v, '_variable_list') or hasattr(v, '_variables')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user