Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/nann
/ functions
Functions
109,079 in github.com/alibaba/nann
⨍
Functions
109,079
◇
Types & classes
19,521
↳
Endpoints
547
↓ 103 callers
Method
append
(l)
tensorflow/tensorflow/python/eager/function_test.py:2419
↓ 103 callers
Method
assertStartsWith
Assert that actual.startswith(expected_start) is True. Args: actual: str expected_start: str msg: Optional message to report on
tensorflow/tensorflow/python/framework/test_util.py:1919
↓ 103 callers
Method
from_row_splits
Creates a `RaggedTensor` with rows partitioned by `row_splits`. The returned `RaggedTensor` corresponds with the python list defined by: ```
tensorflow/tensorflow/python/ops/ragged/ragged_tensor.py:404
↓ 103 callers
Method
id
tensorflow/tensorflow/compiler/tf2xla/xla_jit_compiled_cpu_function_test.cc:165
↓ 102 callers
Function
GetGpuLaunchConfig
Calculate the GPU launch config we should use for a kernel launch. This is assuming the kernel is quite simple and will largely be memory-limited. REQ
tensorflow/tensorflow/core/util/gpu_launch_config.h:127
↓ 102 callers
Method
GetMutationBuilder
tensorflow/tensorflow/core/grappler/utils/graph_view.cc:484
↓ 102 callers
Method
GetResult
tensorflow/tensorflow/core/lib/strings/scanner.cc:44
↓ 102 callers
Method
TotalBytes
tensorflow/tensorflow/core/graph/costmodel.cc:194
↓ 102 callers
Method
add
Return new `LinearOperator` acting like `op1 + op2`. Args: op1: `LinearOperator` op2: `LinearOperator`, with `shape` and `dtype` su
tensorflow/tensorflow/python/ops/linalg/linear_operator_addition.py:266
↓ 102 callers
Method
builder
tensorflow/tensorflow/compiler/xla/client/lib/comparators_test.cc:37
↓ 102 callers
Method
colocation_groups
Returns the list of colocation groups of the op.
tensorflow/tensorflow/python/framework/ops.py:1837
↓ 102 callers
Method
get_shape
(self)
tensorflow/tensorflow/contrib/tpu/python/tpu/keras_tpu_variables.py:128
↓ 102 callers
Method
get_slot
Return a slot named `name` created for `var` by the Optimizer. Some `Optimizer` subclasses use additional variables. For example `Momentum`
tensorflow/tensorflow/contrib/optimizer_v2/optimizer_v2.py:1019
↓ 102 callers
Method
id
tensorflow/tensorflow/compiler/jit/device_util.h:50
↓ 101 callers
Method
FromProto
tensorflow/tensorflow/core/framework/tensor.cc:877
↓ 101 callers
Function
InternalError
tensorflow/tensorflow/lite/delegates/gpu/common/status.h:85
↓ 101 callers
Method
IsControlEdge
tensorflow/tensorflow/compiler/tf2tensorrt/segment/segment.cc:72
↓ 101 callers
Function
SizeOfDimension
tensorflow/tensorflow/lite/kernels/kernel_util.h:28
↓ 101 callers
Method
builder
Precondition: !IsUninitialized(). It's very common to do foo.builder()->bar(). Without this precondition, if foo.builder() is null, the call to bar
tensorflow/tensorflow/compiler/xla/client/xla_builder.h:69
↓ 101 callers
Function
dims
tensorflow/tensorflow/core/util/sparse/sparse_tensor.h:158
↓ 101 callers
Method
size
tensorflow/tensorflow/core/kernels/batching_util/batch_scheduler.h:256
↓ 101 callers
Method
test_session
Use cached_session instead.
tensorflow/tensorflow/python/framework/test_util.py:2079
↓ 101 callers
Method
window
tensorflow/tensorflow/stream_executor/dnn.h:770
↓ 101 callers
Function
wrap
Helper to create a WrappedTensor object.
tensorflow/tensorflow/python/ops/parallel_for/pfor.py:933
↓ 100 callers
Method
Apply
tensorflow/tensorflow/core/grappler/utils/graph_view.cc:430
↓ 100 callers
Function
Split
Split strings using any of the supplied delimiters. For example: Split("a,b.c,d", ".,") would return {"a", "b", "c", "d"}.
tensorflow/tensorflow/core/platform/str_util.h:121
↓ 100 callers
Method
_ExecuteAndCompareClose
(self, c, arguments=(),
tensorflow/tensorflow/compiler/xla/python/xla_client_test.py:56
↓ 100 callers
Function
f
The function to predict.
tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/estimator_test.py:91
↓ 100 callers
Method
f
(x, y)
tensorflow/tensorflow/python/saved_model/load_test.py:228
↓ 100 callers
Method
get
Returns a `Tensor` for the given key. A `str` key is used to access a base feature (not-transformed). When a `_FeatureColumn` is passed, the
tensorflow/tensorflow/python/feature_column/feature_column.py:2122
↓ 100 callers
Method
matmul
(p1, p2, p3)
tensorflow/tensorflow/python/ops/init_ops.py:1096
↓ 100 callers
Method
read
Returns the next record (key, value pair) produced by the reader. The multiple reader instances are all configured to `read()` from the filen
tensorflow/tensorflow/contrib/slim/python/slim/data/parallel_reader.py:106
↓ 99 callers
Method
GetCell
tensorflow/tensorflow/core/lib/monitoring/mobile_gauge.h:59
↓ 99 callers
Function
make_zip_of_tests
Helper to make a zip file of a bunch of TensorFlow models. This does a cartestian product of the dictionary of test_parameters and calls make_gra
tensorflow/tensorflow/lite/testing/generate_examples_lib.py:357
↓ 99 callers
Method
tensor
tensorflow/tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc:889
↓ 99 callers
Method
tensorflow_gpu_device_info
tensorflow/tensorflow/core/common_runtime/renamed_device.h:58
↓ 98 callers
Function
ConstantLiteral
Enqueues a constant with the value of the given literal onto the computation.
tensorflow/tensorflow/compiler/xla/client/xla_builder.cc:2782
↓ 98 callers
Function
GetPaddingAttrString
tensorflow/tensorflow/core/util/padding.cc:73
↓ 98 callers
Function
MakeNodeConst
tensorflow/tensorflow/core/grappler/graph_analyzer/test_tools.cc:28
↓ 98 callers
Function
TfLiteIntArrayFree
tensorflow/tensorflow/lite/c/c_api_internal.c:72
↓ 98 callers
Method
add_hparam
Adds {name, value} pair to hyperparameters. Args: name: Name of the hyperparameter. value: Value of the hyperparameter. Can be one of
tensorflow/tensorflow/contrib/training/python/training/hparam.py:473
↓ 98 callers
Method
ok
tensorflow/tensorflow/stream_executor/cuda/redzone_allocator.h:76
↓ 97 callers
Function
AsDeviceMemory
tensorflow/tensorflow/core/kernels/fft_ops.cc:295
↓ 97 callers
Method
SerializeAsString
tensorflow/tensorflow/compiler/xla/shape.h:141
↓ 97 callers
Method
SleepForMicroseconds
tensorflow/tensorflow/core/platform/env.h:370
↓ 97 callers
Function
TF_SetStatus
tensorflow/tensorflow/c/tf_status.cc:28
↓ 97 callers
Function
builtin_options_type
tensorflow/tensorflow/lite/schema/schema_generated.h:8236
↓ 97 callers
Function
callback
(session)
tensorflow/tensorflow/contrib/framework/python/ops/variables.py:588
↓ 97 callers
Method
index
tensorflow/tensorflow/cc/framework/ops.h:238
↓ 97 callers
Method
remove
Removes the registered function corresponding to `token`.
tensorflow/tensorflow/python/ops/script_ops.py:173
↓ 97 callers
Method
resource_manager
Returns the resource manager associated w/ this device.
tensorflow/tensorflow/core/common_runtime/device.h:167
↓ 96 callers
Function
AsInt64Slice
xla::int64 is not the same type as tensorflow::protobuf_int64 in open-source. Wrapper function that gives an int64 array slice view of a repeated int6
tensorflow/tensorflow/compiler/xla/util.h:169
↓ 96 callers
Function
NumOutputs
tensorflow/tensorflow/lite/kernels/kernel_util.h:75
↓ 96 callers
Method
assign
(self, value, use_locking=None, name=None, read_value=True)
tensorflow/tensorflow/python/keras/mixed_precision/experimental/autocast_variable.py:122
↓ 96 callers
Method
assign
tensorflow/tensorflow/core/kernels/topk_op_gpu.h:137
↓ 96 callers
Method
begin
tensorflow/tensorflow/core/common_runtime/executor.cc:1239
↓ 96 callers
Function
builtin_options
tensorflow/tensorflow/lite/schema/schema_generated.h:8239
↓ 96 callers
Method
cached_session
Create a test session with master target set to the testing cluster. Creates a test session that connects to the local testing cluster. The s
tensorflow/tensorflow/python/distribute/multi_worker_test_base.py:282
↓ 96 callers
Method
dimensions
(self)
tensorflow/tensorflow/compiler/xla/python_api/xla_shape.py:77
↓ 96 callers
Method
mutable_shape
tensorflow/tensorflow/lite/toco/model.h:2242
↓ 96 callers
Method
pop
Removes the last layer in the model. Raises: TypeError: if there are no layers in the model.
tensorflow/tensorflow/python/keras/engine/sequential.py:218
↓ 96 callers
Method
random_normal
(shape, mean=0.0, stddev=1.0, dtype=dtypes.f
tensorflow/tensorflow/contrib/tpu/python/tpu/keras_support.py:462
↓ 96 callers
Method
to_apply
tensorflow/tensorflow/compiler/xla/service/hlo_instruction.cc:2070
↓ 95 callers
Method
Add
tensorflow/tensorflow/lite/toco/graph_transformations/graph_transformations.h:76
↓ 95 callers
Method
AddNode
tensorflow/tensorflow/core/grappler/costs/virtual_scheduler.cc:236
↓ 95 callers
Method
AddScalar
tensorflow/tensorflow/core/kernels/data/experimental/stats_aggregator_ops.cc:60
↓ 95 callers
Method
GetNext
tensorflow/tensorflow/core/kernels/data/iterator_ops.cc:63
↓ 95 callers
Function
MatMul
tensorflow/tensorflow/core/kernels/matmul_op.h:43
↓ 95 callers
Method
end
tensorflow/tensorflow/compiler/xla/tests/exhaustive_op_test_utils.h:1028
↓ 95 callers
Method
generic_visit
(self, node)
tensorflow/tensorflow/python/autograph/pyct/ast_util.py:152
↓ 95 callers
Method
status
tensorflow/tensorflow/stream_executor/lib/statusor.h:275
↓ 94 callers
Method
Matrix
tensorflow/tensorflow/core/framework/shape_inference.cc:770
↓ 94 callers
Method
get
(self)
tensorflow/tensorflow/contrib/compiler/xla.py:47
↓ 94 callers
Method
get
Gets one element from this staging area. If the staging area is empty when this operation executes, it will block until there is an element t
tensorflow/tensorflow/python/ops/data_flow_ops.py:1893
↓ 94 callers
Method
rank
The number of dimensions in this shape, or None if unknown.
tensorflow/tensorflow/python/ops/ragged/ragged_tensor_shape.py:219
↓ 94 callers
Method
run_core_tests
Runs the core tests. Args: ds_fn: 0-argument function that returns a Dataset. num_outputs: Total number of outputs expected from this
tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/dataset_serialization_test_base.py:64
↓ 93 callers
Method
AddAsKey
tensorflow/tensorflow/core/util/mkl_util.h:1956
↓ 93 callers
Method
InferStatically
tensorflow/tensorflow/core/grappler/costs/graph_memory.cc:34
↓ 93 callers
Method
apply_gradients
Apply gradients to variables. This is the second part of `minimize()`. It returns an `Operation` that applies gradients. Args: gra
tensorflow/tensorflow/python/keras/optimizer_v2/optimizer_v2.py:406
↓ 93 callers
Method
as_default
(self)
tensorflow/tensorflow/python/debug/wrappers/framework.py:805
↓ 93 callers
Method
config
tensorflow/tensorflow/compiler/xla/service/cpu/tiled_dot_emitter.cc:739
↓ 93 callers
Method
copy
Returns a deep copy of node (excluding some fields, see copy_clean).
tensorflow/tensorflow/python/autograph/pyct/ast_util.py:37
↓ 93 callers
Method
mutable_dimensions
tensorflow/tensorflow/compiler/xla/shape.h:108
↓ 92 callers
Function
GetMklOpName
Get the name of Mkl op from original TensorFlow op We prefix 'Mkl' to the original op to get Mkl op.
tensorflow/tensorflow/core/graph/mkl_graph_util.h:115
↓ 92 callers
Method
PaddingFIFOQueue
tensorflow/tensorflow/core/kernels/padding_fifo_queue.cc:36
↓ 92 callers
Method
Subshape
tensorflow/tensorflow/core/framework/shape_inference.cc:626
↓ 92 callers
Function
TfLiteIntArrayCopy
tensorflow/tensorflow/lite/c/c_api_internal.c:63
↓ 92 callers
Function
Unavailable
tensorflow/tensorflow/compiler/xla/util.h:279
↓ 92 callers
Method
add
(self, x)
tensorflow/tensorflow/python/framework/convert_to_constants_test.py:200
↓ 92 callers
Method
as_list
Returns a list of integers or `None` for each dimension. Returns: A list of integers or `None` for each dimension. Raises: Value
tensorflow/tensorflow/python/framework/tensor_shape.py:1161
↓ 92 callers
Method
begin
tensorflow/tensorflow/core/framework/tensor_shape.cc:500
↓ 92 callers
Method
error
(Element e, String message, Object... args)
tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/OperatorProcessor.java:177
↓ 92 callers
Method
load
Load the MetaGraphDef graph and restore variable values into the session. Args: sess: tf.compat.v1.Session to restore variable values.
tensorflow/tensorflow/python/saved_model/loader_impl.py:405
↓ 92 callers
Method
op
tensorflow/tensorflow/lite/delegates/flex/kernel.cc:201
↓ 92 callers
Method
push
Push 'v'. If the maximum number of elements was exceeded, drop the lowest element and return it in 'dropped' (if given). If the maximum is not exceed
tensorflow/tensorflow/core/lib/gtl/top_n.h:113
↓ 91 callers
Method
RemoveCurrNode
tensorflow/tensorflow/core/grappler/costs/virtual_scheduler.cc:124
↓ 91 callers
Method
Tell
tensorflow/tensorflow/core/lib/io/zlib_inputstream.cc:220
↓ 91 callers
Method
apply_gradients
(self, grads_and_vars, global_step=None, name=None)
tensorflow/tensorflow/contrib/opt/python/training/addsign.py:92
↓ 91 callers
Method
computations
Gets the computations in this module. Returns a view of HloComputation*s, so you can iterate over this in the natural way: for (HloComputation* c :
tensorflow/tensorflow/compiler/xla/service/hlo_module.h:160
↓ 91 callers
Method
create_op
Creates an `Operation` in this graph. This is a low-level interface for creating an `Operation`. Most programs will not call this method dire
tensorflow/tensorflow/python/framework/ops.py:3304
← previous
next →
801–900 of 109,079, ranked by callers