Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/coremltools
/ functions
Functions
41,379 in github.com/apple/coremltools
⨍
Functions
41,379
◇
Types & classes
6,698
↳
Endpoints
1,092
↓ 1 callers
Method
addUnpackedUint32Element
* @param {number} fieldNumber * @param {number} value
deps/protobuf/js/experimental/runtime/testing/binary/test_message.js:1540
↓ 1 callers
Method
addUnpackedUint32Element
* Adds a single uint32 value into the field for the given field number. * All values will be encoded as unpacked values. * @param {number} field
deps/protobuf/js/experimental/runtime/kernel/kernel.js:3690
↓ 1 callers
Method
addUnpackedUint32Iterable
* @param {number} fieldNumber * @param {!Iterable<number>} values
deps/protobuf/js/experimental/runtime/testing/binary/test_message.js:1548
↓ 1 callers
Method
addUnpackedUint32Iterable
* Adds all uint32 values into the field for the given field number. * All these values will be encoded as unpacked values. * @param {number} fie
deps/protobuf/js/experimental/runtime/kernel/kernel.js:3703
↓ 1 callers
Method
addUnpackedUint64Element
* @param {number} fieldNumber * @param {!Int64} value
deps/protobuf/js/experimental/runtime/testing/binary/test_message.js:1608
↓ 1 callers
Method
addUnpackedUint64Element
* Adds a single uint64 value into the field for the given field number. * All values will be encoded as unpacked values. * @param {number} field
deps/protobuf/js/experimental/runtime/kernel/kernel.js:3816
↓ 1 callers
Method
addUnpackedUint64Iterable
* @param {number} fieldNumber * @param {!Iterable<!Int64>} values
deps/protobuf/js/experimental/runtime/testing/binary/test_message.js:1616
↓ 1 callers
Method
addUnpackedUint64Iterable
* Adds all uint64 values into the field for the given field number. * All these values will be encoded as unpacked values. * @param {number} fie
deps/protobuf/js/experimental/runtime/kernel/kernel.js:3826
↓ 1 callers
Method
addVarint
Adds a varint value to the unknown fields.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSchema.java:42
↓ 1 callers
Method
add_acos
Add an acos layer to the model that computes element-wise arc-cosine for the input tensor. Refer to the ``AcosLayerParams`` m
coremltools/models/neural_network/builder.py:5195
↓ 1 callers
Method
add_acosh
Add an acosh layer to the model that computes element-wise inverse hyperbolic cosine for the input tensor. Refer to the ``Aco
coremltools/models/neural_network/builder.py:5338
↓ 1 callers
Method
add_asin
Add an asin layer to the model that computes element-wise arc-sine for the input tensor. Refer to the ``AsinLayerParams`` mes
coremltools/models/neural_network/builder.py:5171
↓ 1 callers
Method
add_asinh
Add an asinh layer to the model that computes element-wise inverse hyperbolic sine for the input tensor. Refer to the ``Asinh
coremltools/models/neural_network/builder.py:5314
↓ 1 callers
Method
add_atan
Add an atan layer to the model that computes element-wise arc-tangent for the input tensor. Refer to the ``AtanLayerParams``
coremltools/models/neural_network/builder.py:5219
↓ 1 callers
Method
add_atanh
Add an atanh layer to the model that computes element-wise inverse hyperbolic tangent for the input tensor. Refer to the ``At
coremltools/models/neural_network/builder.py:5362
↓ 1 callers
Method
add_base
deps/pybind11/include/pybind11/attr.h:334
↓ 1 callers
Method
add_batch
(self, inp: _torch.Tensor, out: _torch.Tensor)
coremltools/optimize/torch/layerwise_compression/algorithms.py:278
↓ 1 callers
Method
add_bidirlstm
Add a Bi-directional LSTM layer to the model. Refer to the ``BiDirectionalLSTMLayerParams`` message in the specification (NeuralNetwo
coremltools/models/neural_network/builder.py:3515
↓ 1 callers
Function
add_bindings
deps/pybind11/tests/test_methods_and_attributes.cpp:197
↓ 1 callers
Method
add_broadcast_to_like
Add a broadcast_to_like layer to the model that broadcasts a tensor to a compatible shape. Refer to the ``BroadcastToLikeLaye
coremltools/models/neural_network/builder.py:7359
↓ 1 callers
Method
add_broadcast_to_static
Add a broadcast_to_static layer to the model that broadcasts a tensor to a compatible shape. Refer to the ``BroadcastToStatic
coremltools/models/neural_network/builder.py:7389
↓ 1 callers
Method
add_child_op
(self, new_op)
coremltools/converters/mil/mil/var.py:279
↓ 1 callers
Function
add_class_method
deps/pybind11/include/pybind11/pybind11.h:1555
↓ 1 callers
Method
add_clip
Add a clip layer to the model that performs element-wise clip operation. Clip the values in the input tensor to the range [min_value,
coremltools/models/neural_network/builder.py:5711
↓ 1 callers
Method
add_cos
Add a cos layer to the model that computes element-wise cosine for the input tensor. Refer to the ``CosLayerParams`` message
coremltools/models/neural_network/builder.py:5123
↓ 1 callers
Method
add_cosh
Add a osh layer to the model that computes element-wise hyperbolic cosine for the input tensor. Refer to the ``CoshLayerParam
coremltools/models/neural_network/builder.py:5266
↓ 1 callers
Method
add_custom
Add a custom layer. Refer to the ``CustomLayerParams`` message in the specification (NeuralNetwork.proto) for more details.
coremltools/models/neural_network/builder.py:4498
↓ 1 callers
Function
add_descriptor_set
* add_descriptor() * * Adds the given descriptor data to this DescriptorPool. */
deps/protobuf/php/ext/google/protobuf/def.c:928
↓ 1 callers
Function
add_enumerated_image_sizes
Annotate an input or output image feature in a neural network spec to to accommodate a list of enumerated image sizes. :param spec: MLMo
coremltools/models/neural_network/flexible_shape_utils.py:543
↓ 1 callers
Method
add_exp2
Add an exp2 layer to the model that performs element-wise experiential operation. Refer to the ``Exp2LayerParams`` message in the spe
coremltools/models/neural_network/builder.py:5386
↓ 1 callers
Method
add_fields
deps/protobuf/src/google/protobuf/type.pb.h:1465
↓ 1 callers
Method
add_file
deps/protobuf/src/google/protobuf/descriptor.pb.h:8507
↓ 1 callers
Method
add_file_to_generate
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1180
↓ 1 callers
Method
add_fill_like
Add a fill_like layer to the model outputs a tensor filled with a scalar value. Refer to the ``FillLikeLayerParams`` message
coremltools/models/neural_network/builder.py:7272
↓ 1 callers
Method
add_flatten
Add a flatten layer. Only flattens the channel, height and width axis. Leaves the sequence axis as is. Refer to the ``Flatten
coremltools/models/neural_network/builder.py:3727
↓ 1 callers
Method
add_floor
Add a floor layer to the model that performs element-wise floor operation on the input tensor that rounds the value to the largest in
coremltools/models/neural_network/builder.py:5646
↓ 1 callers
Method
add_floor_div_broadcastable
Add a floor_div_broadcastable layer to the model that performs floor division operation with broadcast support. Refer to the
coremltools/models/neural_network/builder.py:5531
↓ 1 callers
Method
add_global_pooling3d
Add a layer to pool three spatial dimensions down to one value. This behaves like a special case of Pooling3DLayerParams in which
coremltools/models/neural_network/builder.py:3013
↓ 1 callers
Method
add_graph
(self, graph_name, graph)
coremltools/converters/mil/frontend/tensorflow/converter.py:78
↓ 1 callers
Method
add_gru
Add a Gated-Recurrent Unit (GRU) layer to the model. Refer to the ``GRULayerParams`` message in the specification (NeuralNetw
coremltools/models/neural_network/builder.py:3265
↓ 1 callers
Method
add_internal_var
(self, internal_var)
coremltools/converters/mil/mil/block.py:323
↓ 1 callers
Method
add_layer_normalization
Add a layer normalization layer to the model that applies layer normalization over the input tensor. Refer to the ``LayerNorm
coremltools/models/neural_network/builder.py:8680
↓ 1 callers
Method
add_leading_detached_comments
deps/protobuf/src/google/protobuf/descriptor.pb.h:14339
↓ 1 callers
Method
add_list
Appends and returns a list value as the next value in the list.
deps/protobuf/python/google/protobuf/internal/well_known_types.py:842
↓ 1 callers
Method
add_load_constant
Add a load constant layer. Refer to the ``LoadConstantLayerParams`` message in the specification (NeuralNetwork.proto) for more detai
coremltools/models/neural_network/builder.py:4456
↓ 1 callers
Method
add_loop_break
Add a loop_break layer to the model that terminates the loop that contains this layer. Must reside in the ``bodyNetwork`` of the loop
coremltools/models/neural_network/builder.py:6140
↓ 1 callers
Method
add_lower_triangular
Add a lower_triangular layer to the model that copies a tensor setting everything outside lower triangular to zero. Refer to
coremltools/models/neural_network/builder.py:8593
↓ 1 callers
Method
add_max_broadcastable
Add a max_broadcastable layer to the model that performs element-wise maximum operation with broadcast support. Refer to the
coremltools/models/neural_network/builder.py:5489
↓ 1 callers
Method
add_message
(name, &block)
deps/protobuf/ruby/lib/google/protobuf/descriptor_dsl.rb:39
↓ 1 callers
Method
add_min_broadcastable
Add a min_broadcastable layer to the model that performs element-wise minimum operation with broadcast support. Refer to the
coremltools/models/neural_network/builder.py:5510
↓ 1 callers
Method
add_mod_broadcastable
Add a mod_broadcastable layer to the model that performs element-wise modular operation with broadcast support. Refer to the
coremltools/models/neural_network/builder.py:5556
↓ 1 callers
Function
add_multiarray_ndshape_enumeration
Annotate an input or output MLMultiArray feature in a neural network spec to accommodate a range of shapes. Add provided enumerated shap
coremltools/models/neural_network/flexible_shape_utils.py:780
↓ 1 callers
Method
add_name
deps/protobuf/src/google/protobuf/descriptor.pb.h:13791
↓ 1 callers
Function
add_name_mappings
* add_name_mappings() * * Adds the messages and enums in this file to the NameMap. */
deps/protobuf/php/ext/google/protobuf/def.c:882
↓ 1 callers
Function
add_object
\rst Adds an object to the module using the given name. Throws if an object with the given name already exists. ``overwrite`
deps/pybind11/include/pybind11/pybind11.h:1302
↓ 1 callers
Method
add_oneofs
deps/protobuf/src/google/protobuf/type.pb.h:1486
↓ 1 callers
Function
add_ostream_redirect
deps/pybind11/include/pybind11/iostream.h:257
↓ 1 callers
Method
add_permute
Add a permute layer. Assumes that the input has dimensions in the order [Seq, C, H, W] Refer to the ``PermuteLayerParams`` message in
coremltools/models/neural_network/builder.py:4026
↓ 1 callers
Method
add_pow_broadcastable
Add a pow_broadcastable layer to the model that performs element-wise power operation with broadcast support. Refer to the ``
coremltools/models/neural_network/builder.py:5577
↓ 1 callers
Method
add_public_dependency
deps/protobuf/src/google/protobuf/descriptor.pb.h:8759
↓ 1 callers
Method
add_random_bernoulli_like
Add a random_bernoulli_like layer to the model that fills the output tensor with random values from Bernoulli distribution. R
coremltools/models/neural_network/builder.py:7899
↓ 1 callers
Method
add_random_normal_like
Add a random_normal_like layer to the model that fills the output tensor with random values from normal distribution. Refer t
coremltools/models/neural_network/builder.py:7664
↓ 1 callers
Method
add_random_uniform_like
Add a random_uniform_like layer to the model that fills the output tensors with random values from uniform distribution. Refe
coremltools/models/neural_network/builder.py:7782
↓ 1 callers
Method
add_range_static
Add a range_static layer that returns a tensor that contains evenly spaced values. This layer has no input and three parameters.
coremltools/models/neural_network/builder.py:5972
↓ 1 callers
Method
add_reduce
Add a reduce layer. Applies the function specified by the parameter mode, along dimension(s) specified by the parameter axis.
coremltools/models/neural_network/builder.py:4120
↓ 1 callers
Method
add_reduce_l1
Add a reduce_l1 layer to the model that reduces the input tensor using ``l1_normalization(elements across given dimensions)``.
coremltools/models/neural_network/builder.py:8343
↓ 1 callers
Method
add_reduce_logsum
Add a reduce_logsum layer to the model that reduces the input tensor using log(sum(elements across given dimensions)). Refer
coremltools/models/neural_network/builder.py:8437
↓ 1 callers
Method
add_reduce_logsumexp
Add a reduce_logsumexp layer to the model that computes ``log(sum(exp(tensor)))`` and reduces along the given axis. Refer to
coremltools/models/neural_network/builder.py:8484
↓ 1 callers
Method
add_reduce_min
Add a reduce_min layer to the model that reduces the input tensor using ``min(elements across given dimensions)``. Refer to t
coremltools/models/neural_network/builder.py:8249
↓ 1 callers
Method
add_reduce_prod
Add a reduce_prod layer to the model that reduces the input tensor using ``prod(elements across given dimensions)``. Refer to
coremltools/models/neural_network/builder.py:8106
↓ 1 callers
Method
add_reduce_sumsquare
Add a reduce_sumsquare layer to the model that reduces the input tensor using ``sum(square(elements across given dimensions))``.
coremltools/models/neural_network/builder.py:8390
↓ 1 callers
Method
add_reshape_like
Add a reshape_like layer to the model that reshapes a tensor. Refer to the ``ReshapeLikeLayerParams`` message in the specification
coremltools/models/neural_network/builder.py:7545
↓ 1 callers
Method
add_round
Add a round layer to the model that performs element-wise round operation on the input tensor that rounds the value to the nearest in
coremltools/models/neural_network/builder.py:5671
↓ 1 callers
Method
add_serialized_file
(ThreadContext context, IRubyObject data )
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyDescriptorPool.java:114
↓ 1 callers
Method
add_sign
Add a sign layer to the model that performs element-wise sign operation (+1 for positive values, -1 for negative values, 0 for zeroes
coremltools/models/neural_network/builder.py:5691
↓ 1 callers
Method
add_simple_rnn
Add a simple recurrent layer to the model. Refer to the ``SimpleRecurrentLayerParams`` message in the specification (NeuralNe
coremltools/models/neural_network/builder.py:3183
↓ 1 callers
Method
add_sinh
Add a sinh layer to the model that computes element-wise hyperbolic sine for the input tensor. Refer to the ``SinhLayerParams`` messa
coremltools/models/neural_network/builder.py:5243
↓ 1 callers
Method
add_slice_by_size
Add a slice layer. Equivalent to to numpy slice [start_index: start_index+size], Input is list of str which is [input_tensor, begin_i
coremltools/models/neural_network/builder.py:3832
↓ 1 callers
Method
add_split
Add a split layer that uniformly splits the input along the channel dimension to produce multiple outputs. Refer to the ``Spl
coremltools/models/neural_network/builder.py:4432
↓ 1 callers
Method
add_tan
Add a tan layer to the model that computes element-wise tangent for the input tensor. Refer to the ``TanLayerParams`` message
coremltools/models/neural_network/builder.py:5147
↓ 1 callers
Method
add_tanh
Add a tanh layer to the model that computes element-wise hyperbolic tangent for the input tensor. Refer to the ``TanhLayerPar
coremltools/models/neural_network/builder.py:5290
↓ 1 callers
Method
add_unilstm
Add a Uni-directional LSTM layer to the model. Refer to the ``UniDirectionalLSTMLayerParams`` message in the specification (N
coremltools/models/neural_network/builder.py:3374
↓ 1 callers
Method
add_uninterpreted_option
deps/protobuf/src/google/protobuf/descriptor.pb.h:9999
↓ 1 callers
Method
add_upper_triangular
Add a upper_triangular layer to the model that copies a tensor setting everything outside upper triangular to zero. Refer to
coremltools/models/neural_network/builder.py:8622
↓ 1 callers
Method
add_weak_dependency
deps/protobuf/src/google/protobuf/descriptor.pb.h:8806
↓ 1 callers
Method
adjust_function_output_types
Adjust output dtypes for a pymil function.
coremltools/converters/mil/mil/passes/defs/preprocess.py:339
↓ 1 callers
Method
advance
deps/pybind11/include/pybind11/pytypes.h:1514
↓ 1 callers
Method
aliasing_enabled
deps/protobuf/src/google/protobuf/message_lite.cc:211
↓ 1 callers
Method
alignment
deps/pybind11/include/pybind11/numpy.h:741
↓ 1 callers
Function
all_type_info_add_base_most_derived_first
Band-aid workaround to fix a subtle but serious bug in a minimalistic fashion. See PR #4762.
deps/pybind11/include/pybind11/detail/type_caster_base.h:96
↓ 1 callers
Function
all_type_info_get_cache
deps/pybind11/include/pybind11/pybind11.h:2366
↓ 1 callers
Function
all_type_info_populate
Populates a just-created cache entry.
deps/pybind11/include/pybind11/detail/type_caster_base.h:109
↓ 1 callers
Method
alloc_count
deps/protobuf/src/google/protobuf/arena_test_util.h:90
↓ 1 callers
Method
allocateDirectBuffer
(int capacity)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BufferAllocator.java:48
↓ 1 callers
Method
allocateHeapBuffer
(int capacity)
deps/protobuf/java/core/src/main/java/com/google/protobuf/BufferAllocator.java:43
↓ 1 callers
Method
allocateInstance
(Class<T> clazz)
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnsafeUtil.java:98
↓ 1 callers
Method
allocate_layout
deps/pybind11/include/pybind11/detail/type_caster_base.h:440
↓ 1 callers
Method
analyze
(StronglyConnectedComponent component)
deps/protobuf/java/core/src/main/java/com/google/protobuf/DescriptorMessageInfoFactory.java:215
↓ 1 callers
Function
annotate_binary_op_act_pattern
Annotates all nodes in ``model``, which match the pattern specified by ``pattern_gm`` using ``quantization_config``. ``pattern_gm`` capt
coremltools/optimize/torch/quantization/_coreml_quantizer_utils.py:513
↓ 1 callers
Method
annotate_module
Creates a context manager for annotating a module. Parameters ---------- hierarchy : Tuple[str] The hier
coremltools/models/ml_program/experimental/torch/debugging_utils.py:212
← previous
next →
10,301–10,400 of 41,379, ranked by callers