tensorflow/python/ops/ragged/ragged_tensor.py
File ragged_tensor.py
has 2398 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Function from_tensor
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_tensor(cls,
Function _from_variant
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _from_variant(cls,
Function from_nested_value_rowids
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_nested_value_rowids(cls,
Function from_uniform_row_length
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_uniform_row_length(cls,
Function from_value_rowids
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_value_rowids(cls,
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function from_row_lengths
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_row_lengths(cls, values, row_lengths, name=None, validate=True):
Function from_row_limits
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_row_limits(cls, values, row_limits, name=None, validate=True):
Function _from_nested_row_partitions
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _from_nested_row_partitions(cls,
Function from_row_splits
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_row_splits(cls, values, row_splits, name=None, validate=True):
Function from_nested_row_splits
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_nested_row_splits(cls,
Function from_row_starts
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_row_starts(cls, values, row_starts, name=None, validate=True):
Function from_nested_row_lengths
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_nested_row_lengths(cls,