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
↓ 12,387 callers
Method
constant
(ExecutionEnvironment env, String name, Object value)
tensorflow/tensorflow/java/src/test/java/org/tensorflow/TestUtil.java:53
↓ 7,835 callers
Method
evaluate
Returns the loss value & metrics values for the model in test mode. Computation is done in batches. Arguments: x: Input data. It cou
tensorflow/tensorflow/python/keras/engine/training.py:729
↓ 7,396 callers
Method
shape
(self)
tensorflow/tensorflow/contrib/labeled_tensor/python/ops/core.py:367
↓ 6,689 callers
Method
name
Returns the full name of the Operation.
tensorflow/tensorflow/java/src/main/java/org/tensorflow/Operation.java:27
↓ 6,323 callers
Method
Attr
tensorflow/tensorflow/compiler/jit/node_matchers.cc:500
↓ 6,097 callers
Function
InvalidArgument
tensorflow/tensorflow/compiler/xla/util.h:239
↓ 5,930 callers
Method
Input
tensorflow/tensorflow/core/common_runtime/direct_session_test.cc:2564
↓ 5,200 callers
Method
input
tensorflow/tensorflow/core/framework/op_kernel.cc:351
↓ 5,146 callers
Method
WithOpName
tensorflow/tensorflow/cc/framework/scope.h:121
↓ 4,570 callers
Method
assertAllEqual
Asserts that two numpy arrays or Tensors have the same values. Args: a: the expected numpy ndarray or anything can be converted to one.
tensorflow/tensorflow/python/framework/test_util.py:2481
↓ 4,354 callers
Method
AddInstruction
tensorflow/tensorflow/compiler/xla/service/hlo_parser.cc:4077
↓ 4,097 callers
Function
range
Creates a sequence of numbers. Creates a sequence of numbers that begins at `start` and extends by increments of `delta` up to but not including
tensorflow/tensorflow/python/ops/math_ops.py:1359
↓ 3,956 callers
Method
assertAllClose
Asserts that two structures of numpy arrays or Tensors, have near values. `a` and `b` can be arbitrarily nested structures. A layer of a nested
tensorflow/tensorflow/python/framework/test_util.py:2386
↓ 3,635 callers
Method
run
(scale, i)
tensorflow/tensorflow/contrib/layers/python/layers/optimizers_test.py:514
↓ 3,385 callers
Method
cached_session
Returns a TensorFlow Session for use in executing tests. This method behaves differently than self.session(): for performance reasons `cached
tensorflow/tensorflow/python/framework/test_util.py:2025
↓ 3,309 callers
Function
StrCat
tensorflow/tensorflow/core/lib/strings/strcat.h:197
↓ 3,167 callers
Method
assertAllEqual
(self, rt, expected)
tensorflow/tensorflow/python/kernel_tests/unicode_encode_op_test.py:36
↓ 2,890 callers
Method
reshape
()
tensorflow/tensorflow/python/framework/tensor_util_test.py:1100
↓ 2,801 callers
Method
eval
(self, tensors)
tensorflow/tensorflow/contrib/labeled_tensor/python/ops/test_util.py:29
↓ 2,645 callers
Method
dim_size
tensorflow/tensorflow/core/framework/tensor_shape.cc:272
↓ 2,643 callers
Function
MakeShape
MakeShape returns a Shape with the provided size of each dimension. A value of -1 implies that the size of the corresponding dimension is not known.
tensorflow/tensorflow/go/shape.go:42
↓ 2,635 callers
Method
Graph
tensorflow/tensorflow/core/graph/graph.cc:363
↓ 2,512 callers
Method
cached_session
(self)
tensorflow/tensorflow/compiler/tests/xla_test.py:226
↓ 2,429 callers
Method
assertAllClose
(self, array1, array2, rtol=1e-5, atol=1e-5)
tensorflow/tensorflow/contrib/opt/python/training/external_optimizer_test.py:58
↓ 2,302 callers
Method
size
tensorflow/tensorflow/core/kernels/data/cache_ops.cc:77
↓ 2,297 callers
Method
join
Blocks until the server has shut down. This method currently blocks forever. Raises: tf.errors.OpError: Or one of its subclasses if an
tensorflow/tensorflow/python/training/server_lib.py:174
↓ 2,270 callers
Method
ok
Returns true iff the status indicates success.
tensorflow/tensorflow/core/lib/core/status.h:54
↓ 2,245 callers
Method
push_back
Attempts to push value to the back of this. If the slice has already been filled, this method has no effect on the underlying data, but it changes the
tensorflow/tensorflow/core/util/example_proto_fast_parsing.cc:499
↓ 2,240 callers
Method
ones
(value)
tensorflow/tensorflow/compiler/tests/eager_test.py:201
↓ 2,232 callers
Method
get
Get a pseudorandom value.
tensorflow/tensorflow/compiler/xla/tests/test_utils.h:45
↓ 2,229 callers
Method
as_default
Returns a context manager that makes this `Graph` the default graph. This method should be used if you want to create multiple graphs in the
tensorflow/tensorflow/python/framework/ops.py:3829
↓ 2,194 callers
Method
Output
tensorflow/tensorflow/core/kernels/bcast_ops.cc:57
↓ 2,149 callers
Method
eval
Evaluates this tensor in a `Session`. Calling this method will execute all preceding operations that produce the inputs needed for the operat
tensorflow/tensorflow/python/framework/ops.py:777
↓ 2,135 callers
Method
run
Runs this operation in a `Session`. Calling this method will execute all preceding operations that produce the inputs needed for this operati
tensorflow/tensorflow/python/framework/ops.py:2423
↓ 2,010 callers
Function
TestName
tensorflow/tensorflow/compiler/xla/service/hlo_graph_dumper_test.cc:37
↓ 1,847 callers
Method
push_back
tensorflow/tensorflow/compiler/xla/shape_util.h:78
↓ 1,843 callers
Method
format
Methods for accessing the format.
tensorflow/tensorflow/compiler/xla/layout.h:165
↓ 1,795 callers
Method
GetAttr
tensorflow/tensorflow/core/framework/op_kernel.h:1590
↓ 1,724 callers
Method
insert
tensorflow/tensorflow/core/graph/edgeset.cc:20
↓ 1,663 callers
Method
at
tensorflow/tensorflow/core/framework/op_kernel.h:1737
↓ 1,662 callers
Method
append
Add an error to the collection. Args: full_name: The path to the file in which the error occurred. message: The message to display wi
tensorflow/tensorflow/tools/docs/parser.py:81
↓ 1,629 callers
Method
append
(self, callback)
tensorflow/tensorflow/python/keras/callbacks.py:208
↓ 1,619 callers
Method
placeholder
(rank)
tensorflow/tensorflow/python/kernel_tests/tridiagonal_solve_op_test.py:454
↓ 1,614 callers
Method
main
(String[] args)
tensorflow/tensorflow/tools/lib_package/LibTensorFlowTest.java:21
↓ 1,578 callers
Method
find
tensorflow/tensorflow/core/lib/gtl/flatmap.h:219
↓ 1,573 callers
Method
Device
tensorflow/tensorflow/core/common_runtime/device.cc:26
↓ 1,551 callers
Method
as_list
(self)
tensorflow/tensorflow/python/keras/utils/tf_utils.py:240
↓ 1,459 callers
Method
name_scope
Returns a context manager that creates hierarchical names for operations. A graph maintains a stack of name scopes. A `with name_scope(...):`
tensorflow/tensorflow/python/framework/ops.py:4031
↓ 1,437 callers
Method
data
tensorflow/tensorflow/core/kernels/cuda_solvers.h:379
↓ 1,430 callers
Method
Variable
tensorflow/tensorflow/java/src/gen/cc/java_defs.h:211
↓ 1,393 callers
Method
device
tensorflow/tensorflow/core/common_runtime/function.cc:280
↓ 1,389 callers
Method
get
tensorflow/tensorflow/core/kernels/data/iterator_ops.cc:239
↓ 1,368 callers
Method
get
tensorflow/tensorflow/core/lib/core/bitmap.h:88
↓ 1,354 callers
Method
emplace_back
tensorflow/tensorflow/core/kernels/data/cache_ops.cc:72
↓ 1,301 callers
Method
dimension
Returns the bound of the tile in the given dimension index.
tensorflow/tensorflow/compiler/xla/layout.h:53
↓ 1,298 callers
Method
push_back
tensorflow/tensorflow/compiler/xla/service/hlo_module_group.cc:88
↓ 1,286 callers
Function
NDef
Helper to construct a NodeDef.
tensorflow/tensorflow/core/framework/function_testlib.cc:48
↓ 1,282 callers
Method
set_output
tensorflow/tensorflow/core/framework/op_kernel.cc:857
↓ 1,263 callers
Method
get_shape
Alias of Tensor.shape.
tensorflow/tensorflow/python/framework/ops.py:580
↓ 1,251 callers
Method
size
tensorflow/tensorflow/compiler/xla/service/tuple_points_to_analysis.cc:72
↓ 1,250 callers
Method
placeholder
(Graph g, String name, Class<T> type)
tensorflow/tensorflow/java/src/test/java/org/tensorflow/TestUtil.java:63
↓ 1,241 callers
Method
size
tensorflow/tensorflow/core/graph/edgeset.h:134
↓ 1,238 callers
Method
end
tensorflow/tensorflow/core/graph/edgeset.h:167
↓ 1,216 callers
Function
Default
tensorflow/tensorflow/cc/profiler/profiler_test.cc:58
↓ 1,216 callers
Function
max
Maximum value in a tensor. Arguments: x: A tensor or variable. axis: An integer, the axis to find maximum values. keepdims: A boo
tensorflow/tensorflow/python/keras/backend.py:1847
↓ 1,212 callers
Method
root_instruction
Return the root instruction of the computation. The root instruction is the instruction which produces the output of the computation.
tensorflow/tensorflow/compiler/xla/service/hlo_computation.h:171
↓ 1,211 callers
Method
Output
Output returns the i-th output of op.
tensorflow/tensorflow/go/operation.go:70
↓ 1,194 callers
Method
Session
tensorflow/tensorflow/core/common_runtime/session.cc:34
↓ 1,194 callers
Method
evaluate
Parse an expression. Args: expression: the expression to be parsed. Returns: The result of the evaluation. Raises: Va
tensorflow/tensorflow/python/debug/cli/evaluator.py:118
↓ 1,183 callers
Method
op
tensorflow/tensorflow/core/framework/shape_inference.cc:222
↓ 1,183 callers
Method
push_back
tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/recognize_commands.h:60
↓ 1,149 callers
Method
variable_scope
Returns the variable scope object created by this Template.
tensorflow/tensorflow/python/ops/template.py:406
↓ 1,146 callers
Function
Internal
tensorflow/tensorflow/compiler/xla/util.h:290
↓ 1,146 callers
Method
size
tensorflow/tensorflow/lite/toco/import_tensorflow.cc:310
↓ 1,145 callers
Method
dims
\brief Convenience accessor for the tensor shape. For all shape accessors, see comments for relevant methods of `TensorShape` in `tensor_shape.h`.
tensorflow/tensorflow/core/framework/tensor.h:251
↓ 1,145 callers
Method
opcode
Returns the opcode for this instruction.
tensorflow/tensorflow/compiler/xla/service/hlo_instruction.h:897
↓ 1,136 callers
Method
operand
tensorflow/tensorflow/compiler/xla/service/hlo_instruction.cc:1677
↓ 1,130 callers
Method
executing_eagerly
Returns True if current thread has eager executing enabled.
tensorflow/tensorflow/python/eager/context.py:656
↓ 1,120 callers
Function
GetOutput
tensorflow/tensorflow/lite/kernels/kernel_util.h:49
↓ 1,110 callers
Method
Input
tensorflow/tensorflow/compiler/tf2xla/xla_op_kernel.cc:80
↓ 1,109 callers
Function
FakeInput
tensorflow/tensorflow/core/framework/fake_input.h:34
↓ 1,109 callers
Function
StrAppend
tensorflow/tensorflow/core/lib/strings/strcat.h:234
↓ 1,093 callers
Method
DebugString
tensorflow/tensorflow/core/kernels/stack.cc:99
↓ 1,091 callers
Method
attr
tensorflow/tensorflow/core/grappler/optimizers/function_optimizer.cc:118
↓ 1,058 callers
Method
assertEquals
Asserts that ProtoEq says a == b.
tensorflow/tensorflow/python/util/protobuf/compare_test.py:52
↓ 1,050 callers
Method
WithRank
tensorflow/tensorflow/core/framework/shape_inference.cc:366
↓ 1,050 callers
Method
cast
Return p or (1-p).
tensorflow/tensorflow/python/ops/init_ops.py:1099
↓ 1,035 callers
Method
Err
Err returns the error, if any, encountered during the construction of the Graph managed by s. Once Err returns a non-nil error, all future calls will
tensorflow/tensorflow/go/op/scope.go:159
↓ 1,024 callers
Method
Invoke
tensorflow/tensorflow/lite/kernels/test_util.cc:183
↓ 1,024 callers
Method
get_shape
Returns the TensorShape that represents the shape of this tensor. See tf.Tensor.get_shape(). Returns: A TensorShape representing the s
tensorflow/tensorflow/contrib/labeled_tensor/python/ops/core.py:374
↓ 1,013 callers
Function
Const
tensorflow/tensorflow/compiler/jit/node_matchers.cc:520
↓ 1,000 callers
Method
control_dependencies
Returns a context manager that specifies control dependencies. Use with the `with` keyword to specify that all operations constructed within
tensorflow/tensorflow/python/framework/ops.py:4585
↓ 977 callers
Method
random_uniform
A deterministic random uniform if seed is passed.
tensorflow/tensorflow/python/ops/init_ops_v2.py:793
↓ 975 callers
Method
evaluate
Evaluates tensors and returns numpy values. Args: tensors: A Tensor or a nested list/tuple of Tensors. Returns: tensors numpy va
tensorflow/tensorflow/python/framework/test_util.py:1961
↓ 974 callers
Method
size
tensorflow/tensorflow/lite/delegates/gpu/common/types.h:79
↓ 962 callers
Method
AddOperation
AddOperation adds the operation to the Graph managed by s. If there is a name prefix associated with s (such as if s was created by a call to SubScop
tensorflow/tensorflow/go/op/scope.go:75
↓ 962 callers
Method
c_str
tensorflow/tensorflow/core/platform/tstring.h:136
↓ 942 callers
Method
assertAllCloseAccordingToType
Like assertAllClose, but also suitable for comparing fp16 arrays. In particular, the tolerance is reduced to 1e-3 if at least one of the argu
tensorflow/tensorflow/python/framework/test_util.py:2414
↓ 941 callers
Method
concat
Return the values in the TensorArray as a concatenated `Tensor`. All of the values must have been written, their ranks must match, and and th
tensorflow/tensorflow/python/ops/tensor_array_ops.py:1117
↓ 934 callers
Method
NumElements
tensorflow/tensorflow/core/framework/model.cc:734
next →
1–100 of 109,079, ranked by callers