tensorflow/python/ops/lookup_ops.py
File lookup_ops.py
has 1964 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# Copyright 2017 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 __init__
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function index_table_from_file
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def index_table_from_file(vocabulary_file=None,
Function __init__
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function __init__
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function __init__
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function index_to_string_table_from_file
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def index_to_string_table_from_file(vocabulary_file,
Function __init__
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function index_table_from_tensor
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def index_table_from_tensor(vocabulary_list,
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, keys, values, key_dtype=None, value_dtype=None, name=None):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self,