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
↓ 925 callers
Method
get_temp_dir
Returns a unique temporary directory for the test to use. If you call this method multiple times during in a test, it will return the same fo
tensorflow/tensorflow/python/framework/test_util.py:1803
↓ 907 callers
Function
TypeError
serving/tensorflow_serving/util/json_tensor.cc:203
↓ 896 callers
Method
evaluate
Evaluates given model with provided evaluation data. Stop conditions - we evaluate on the given input data until one of the following: -
tensorflow/tensorflow/contrib/learn/python/learn/evaluable.py:46
↓ 892 callers
Method
session
Returns a TensorFlow Session for use in executing tests. Note that this will set this session and the graph as global defaults. Use the `use
tensorflow/tensorflow/python/framework/test_util.py:1982
↓ 886 callers
Method
get_variable
Gets an existing variable with this name or create a new one.
tensorflow/tensorflow/python/ops/variable_scope.py:1173
↓ 884 callers
Method
rand
(dtype, real_range)
tensorflow/tensorflow/python/kernel_tests/cwise_ops_unary_test.py:539
↓ 877 callers
Method
dtype
tensorflow/tensorflow/core/graph/gradients.cc:50
↓ 867 callers
Method
Build
static */
tensorflow/tensorflow/compiler/xla/service/call_graph.cc:276
↓ 866 callers
Method
GetNode
tensorflow/tensorflow/core/grappler/optimizers/auto_mixed_precision.cc:614
↓ 865 callers
Method
size
tensorflow/tensorflow/core/grappler/optimizers/function_api_info.h:84
↓ 833 callers
Method
reduce_sum
Performs a sum reduction on `x` across pfor iterations. Note that this currently may not work inside a control flow construct. Args: x:
tensorflow/tensorflow/python/ops/parallel_for/pfor.py:1034
↓ 831 callers
Method
ok
tensorflow/tensorflow/compiler/mlir/tensorflow/utils/error_util.cc:38
↓ 830 callers
Method
count
tensorflow/tensorflow/core/lib/gtl/flatmap.h:218
↓ 827 callers
Method
allocate_output
tensorflow/tensorflow/core/framework/op_kernel.cc:659
↓ 805 callers
Function
min
Minimum value in a tensor. Arguments: x: A tensor or variable. axis: An integer, the axis to find minimum values. keepdims: A boo
tensorflow/tensorflow/python/keras/backend.py:1865
↓ 797 callers
Method
cast
tensorflow/tensorflow/compiler/xla/python/types.h:139
↓ 794 callers
Function
TF_GetCode
tensorflow/tensorflow/c/tf_status.cc:36
↓ 791 callers
Method
node
tensorflow/tensorflow/core/grappler/utils/graph_view.cc:44
↓ 791 callers
Method
resize
tensorflow/tensorflow/core/lib/gtl/flatmap.h:113
↓ 789 callers
Method
status
tensorflow/tensorflow/compiler/xla/service/gpu/nccl_all_reduce_thunk.cc:307
↓ 786 callers
Method
flatten
(self)
tensorflow/tensorflow/lite/python/op_hint.py:520
↓ 785 callers
Method
ConsumeValueOrDie
tensorflow/tensorflow/stream_executor/lib/statusor.h:197
↓ 774 callers
Method
ResourceVariable
tensorflow/tensorflow/lite/experimental/resource_variable/resource_variable.cc:24
↓ 774 callers
Method
compile
Configures the model for training. Arguments: optimizer: String (name of optimizer) or optimizer instance. See `tf.keras.opti
tensorflow/tensorflow/python/keras/engine/training.py:185
↓ 770 callers
Method
add_input
Add a wrapped input argument to the hint. Args: *args: The input tensor. **kwargs: "name" label "tag" a tag to group
tensorflow/tensorflow/lite/python/op_hint.py:384
↓ 765 callers
Method
AddEntryComputation
tensorflow/tensorflow/compiler/xla/service/hlo_module.cc:113
↓ 762 callers
Method
ToGraphDef
tensorflow/tensorflow/core/graph/graph.cc:643
↓ 755 callers
Method
reserve
If you know how many elements you will push at the time you create the TopN object, you can call reserve to preallocate the memory that TopN will need
tensorflow/tensorflow/core/lib/gtl/top_n.h:106
↓ 750 callers
Method
dimensions
tensorflow/tensorflow/compiler/xla/service/hlo_instruction.h:1493
↓ 749 callers
Function
Add
tensorflow/tensorflow/compiler/xla/client/xla_builder.cc:3059
↓ 742 callers
Method
numpy
Returns a numpy array or a scalar with the same contents as the Tensor. TODO(ashankar,agarwal): Perhaps this should NOT reference the underlying
tensorflow/tensorflow/python/framework/ops.py:918
↓ 737 callers
Method
size
tensorflow/tensorflow/compiler/tf2tensorrt/utils/trt_lru_cache.h:59
↓ 725 callers
Function
Placeholder
tensorflow/tensorflow/c/c_test_util.cc:121
↓ 723 callers
Method
Dims
tensorflow/tensorflow/lite/kernels/internal/types.h:189
↓ 721 callers
Function
tuple
Group tensors together. This creates a tuple of tensors with the same values as the `tensors` argument, except that the value of each tensor is o
tensorflow/tensorflow/python/ops/control_flow_ops.py:2948
↓ 718 callers
Method
entry_computation
Return a pointer to the entry computation of the module.
tensorflow/tensorflow/compiler/xla/service/hlo_module.h:115
↓ 715 callers
Method
type
Returns the type of the operation, i.e., the name of the computation performed by the operation.
tensorflow/tensorflow/java/src/main/java/org/tensorflow/Operation.java:33
↓ 714 callers
Method
set_op
tensorflow/tensorflow/compiler/jit/node_matchers.h:110
↓ 713 callers
Method
Input
All of Input's constructors are implicit. Input can be implicitly constructed from the following objects : Output: This is so that the output of an Op
tensorflow/tensorflow/cc/framework/ops.h:204
↓ 708 callers
Method
back
tensorflow/tensorflow/compiler/xla/shape_util.h:93
↓ 708 callers
Method
begin
tensorflow/tensorflow/core/graph/edgeset.h:155
↓ 707 callers
Function
F2Q
Converts a float value into an unsigned eight-bit quantized value.
tensorflow/tensorflow/lite/experimental/micro/testing/test_utils.h:64
↓ 706 callers
Method
reset
tensorflow/tensorflow/core/util/presized_cuckoo_map.h:222
↓ 694 callers
Method
range
Creates a `Dataset` of a step-separated range of values. For example: ```python Dataset.range(5) == [0, 1, 2, 3, 4] Dataset.range(2,
tensorflow/tensorflow/python/data/ops/dataset_ops.py:688
↓ 673 callers
Method
empty
tensorflow/tensorflow/core/graph/edgeset.h:132
↓ 667 callers
Method
at
tensorflow/tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc:186
↓ 662 callers
Method
input_size
tensorflow/tensorflow/core/grappler/utils/functions.cc:83
↓ 661 callers
Function
Parameter
tensorflow/tensorflow/compiler/xla/client/xla_builder.h:327
↓ 660 callers
Function
Unimplemented
tensorflow/tensorflow/compiler/xla/util.h:245
↓ 657 callers
Method
append
Append an item to the Menu. Args: item: (MenuItem) the item to be appended.
tensorflow/tensorflow/python/debug/cli/debugger_cli_common.py:1164
↓ 655 callers
Method
end
tensorflow/tensorflow/compiler/xla/service/llvm_ir/ir_array.h:104
↓ 650 callers
Function
type
tensorflow/tensorflow/lite/schema/schema_generated.h:2835
↓ 642 callers
Method
get_collection
Returns a list of values in the collection with the given `name`. This is different from `get_collection_ref()` which always returns the actu
tensorflow/tensorflow/python/framework/ops.py:3940
↓ 642 callers
Method
matmul
(x, y)
tensorflow/tensorflow/python/eager/function_test.py:1958
↓ 635 callers
Function
TF_Message
tensorflow/tensorflow/c/tf_status.cc:40
↓ 632 callers
Method
element_type
(self)
tensorflow/tensorflow/compiler/xla/python_api/xla_shape.py:71
↓ 631 callers
Method
identity
Returns a TensorArray with the same content and properties. Returns: A new TensorArray object with flow that ensures the control dependenci
tensorflow/tensorflow/python/ops/tensor_array_ops.py:1044
↓ 624 callers
Method
log
Use TF logging for TensorRT informations
tensorflow/tensorflow/compiler/tf2tensorrt/utils/trt_logger.cc:27
↓ 617 callers
Method
size
tensorflow/tensorflow/core/common_runtime/gpu/gpu_event_mgr_test.cc:105
↓ 614 callers
Method
add_argument
tensorflow/tensorflow/stream_executor/kernel.h:405
↓ 612 callers
Method
rank
Returns the rank (number of dimensions) of the given shape. Shape must be an array.
tensorflow/tensorflow/compiler/xla/shape.h:50
↓ 606 callers
Method
set_name
tensorflow/tensorflow/core/graph/graph.cc:226
↓ 597 callers
Method
expand_dims
(input_tensor)
tensorflow/tensorflow/python/feature_column/feature_column.py:2186
↓ 595 callers
Function
GetInput
tensorflow/tensorflow/lite/kernels/kernel_util.h:32
↓ 591 callers
Function
Parameter
- Parameter(N) matches parameter number N. - Parameter() matches any parameter.
tensorflow/tensorflow/compiler/xla/service/hlo_matchers.h:285
↓ 585 callers
Method
code
tensorflow/tensorflow/core/lib/core/status.h:56
↓ 583 callers
Method
device
Returns a context manager that specifies the default device to use. The `device_name_or_function` argument may either be a device name string
tensorflow/tensorflow/python/framework/ops.py:4308
↓ 574 callers
Function
ByteSequence
tensorflow/tensorflow/core/lib/strings/ordered_code_test.cc:212
↓ 569 callers
Method
erase
tensorflow/tensorflow/core/graph/edgeset.cc:52
↓ 558 callers
Method
run
(self)
tensorflow/tensorflow/python/training/coordinator.py:483
↓ 558 callers
Method
transpose
(matrix)
tensorflow/tensorflow/python/kernel_tests/array_ops_test.py:91
↓ 555 callers
Method
get_shape
Alias of `Variable.shape`.
tensorflow/tensorflow/python/ops/variables.py:1190
↓ 553 callers
Function
TF_ASSIGN_OR_RETURN
tensorflow/tensorflow/compiler/xla/service/cholesky_expander.cc:137
↓ 550 callers
Method
end
Returns a const iterator pointing to the past-the-end wrapped tensor input.
tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/vectorizer.h:84
↓ 549 callers
Method
Dim
tensorflow/tensorflow/core/common_runtime/eager/tensor_handle.cc:301
↓ 549 callers
Method
fit
Trains the model for a fixed number of epochs (iterations on a dataset). Arguments: x: Input data. It could be: - A Numpy array
tensorflow/tensorflow/python/keras/engine/training.py:534
↓ 548 callers
Method
ok
tensorflow/tensorflow/cc/framework/scope.cc:288
↓ 544 callers
Method
assign
Assigns a new value to the variable. This is essentially a shortcut for `assign(self, value)`. Args: value: A `Tensor`. The new value
tensorflow/tensorflow/python/ops/variables.py:570
↓ 543 callers
Function
GetParam
(var, timestep)
tensorflow/tensorflow/contrib/opt/python/training/shampoo.py:38
↓ 542 callers
Method
value
tensorflow/tensorflow/core/lib/monitoring/gauge.h:206
↓ 531 callers
Method
run
Wrapper around Session.run() that inserts tensor watch options. Args: fetches: Same as the `fetches` arg to regular `Session.run()`.
tensorflow/tensorflow/python/debug/wrappers/framework.py:397
↓ 529 callers
Method
size
(self)
tensorflow/tensorflow/contrib/labeled_tensor/python/ops/core.py:150
↓ 527 callers
Method
clear
tensorflow/tensorflow/core/graph/edgeset.h:147
↓ 526 callers
Method
info
(self)
tensorflow/tensorflow/tools/compatibility/ast_edits.py:271
↓ 523 callers
Function
ArrayFloatNear
tensorflow/tensorflow/lite/kernels/test_util.cc:46
↓ 523 callers
Method
ToString
tensorflow/tensorflow/compiler/xla/service/hlo_value.cc:47
↓ 522 callers
Method
size
tensorflow/tensorflow/core/framework/tensor.cc:113
↓ 520 callers
Method
assertRaisesOpError
(self, expected_err_re_or_predicate)
tensorflow/tensorflow/python/framework/test_util.py:2759
↓ 520 callers
Method
opaque
Warning: note that the pointer returned is not necessarily directly to device virtual address space, but is platform-dependent.
tensorflow/tensorflow/stream_executor/device_memory.h:84
↓ 519 callers
Method
size
tensorflow/tensorflow/core/grappler/costs/graph_properties.cc:438
↓ 518 callers
Method
split
Split the values of a `Tensor` into the TensorArray. Args: value: (N+1)-D. Tensor of type `dtype`. The Tensor to split. lengths: 1-
tensorflow/tensorflow/python/ops/tensor_array_ops.py:1171
↓ 506 callers
Function
dataset
Download and parse MNIST dataset.
tensorflow/tensorflow/lite/tutorials/dataset.py:86
↓ 504 callers
Function
GetTensorShape
tensorflow/tensorflow/lite/kernels/internal/tensor.h:41
↓ 504 callers
Method
size
tensorflow/tensorflow/compiler/xla/shape_util.h:77
↓ 496 callers
Method
begin
tensorflow/tensorflow/compiler/xla/service/llvm_ir/ir_array.h:103
↓ 494 callers
Function
IsScalar
tensorflow/tensorflow/compiler/mlir/lite/flatbuffer_import.cc:56
↓ 488 callers
Method
data
tensorflow/tensorflow/lite/delegates/gpu/gl/gl_buffer.h:236
↓ 487 callers
Function
DataTypeString
tensorflow/tensorflow/core/framework/types.cc:110
↓ 486 callers
Method
extend
(l)
tensorflow/tensorflow/python/eager/function_test.py:2427
↓ 485 callers
Method
Run
tensorflow/tensorflow/compiler/xla/service/defuser.cc:92
← previous
next →
101–200 of 109,079, ranked by callers