MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 4 callersFunction_transpose_NDHWC_to_NCDHW
(x)
coremltools/converters/mil/frontend/tensorflow/ops.py:57
↓ 4 callersFunction_upb_arenahas
deps/protobuf/php/ext/google/protobuf/php-upb.h:446
↓ 4 callersFunction_upb_arenahas
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:446
↓ 4 callersFunction_upb_array_new
deps/protobuf/php/ext/google/protobuf/php-upb.h:1360
↓ 4 callersFunction_upb_array_new
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1364
↓ 4 callersFunction_upb_getoneofcase_field
deps/protobuf/php/ext/google/protobuf/php-upb.h:1321
↓ 4 callersFunction_upb_getoneofcase_field
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1325
↓ 4 callersFunction_upb_oneofcase_field
deps/protobuf/php/ext/google/protobuf/php-upb.h:1316
↓ 4 callersFunction_upb_oneofcase_field
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1320
↓ 4 callersMethod_validate_result
( self, result: _Dict[str, _Any], )
coremltools/models/ml_program/experimental/remote_device.py:2364
↓ 4 callersMethod_verify_numerical
(prev_prog, prog, block, input_shape, rtol=1e-7, atol=0.0)
coremltools/converters/mil/mil/passes/tests/test_quantization_passes.py:1809
↓ 4 callersFunctionadd
add a character to token_buffer
deps/nlohmann/json.hpp:7601
↓ 4 callersMethodadd2
passing by value
deps/pybind11/tests/test_methods_and_attributes.cpp:41
↓ 4 callersFunctionaddBeta1
mlmodel/tests/ParameterTests.cpp:111
↓ 4 callersFunctionaddBeta2
mlmodel/tests/ParameterTests.cpp:134
↓ 4 callersFunctionaddEps
mlmodel/tests/ParameterTests.cpp:157
↓ 4 callersMethodaddField
($field)
deps/protobuf/php/src/Google/Protobuf/Internal/Descriptor.php:76
↓ 4 callersMethodaddRepeatedBoolIterable_
* Adds all boolean values into the field for the given field number. * How these values are encoded depends on the given write function. * @para
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2080
↓ 4 callersMethodaddRepeatedDoubleIterable_
* Adds all double values into the field for the given field number. * How these values are encoded depends on the given write function. * @param
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2227
↓ 4 callersMethodaddRepeatedFixed32Iterable_
* Adds all fixed32 values into the field for the given field number. * How these values are encoded depends on the given write function. * @para
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2376
↓ 4 callersMethodaddRepeatedFloatIterable_
* Adds all float values into the field for the given field number. * How these values are encoded depends on the given write function. * @param
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2609
↓ 4 callersMethodaddRepeatedInt32Iterable_
* Adds all int32 values into the field for the given field number. * How these values are encoded depends on the given write function. * @param
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2769
↓ 4 callersMethodaddRepeatedInt64Iterable_
* Adds all int64 values into the field for the given field number. * How these values are encoded depends on the given write function. * @param
deps/protobuf/js/experimental/runtime/kernel/kernel.js:2916
↓ 4 callersMethodaddRepeatedSfixed32Iterable_
* Adds all sfixed32 values into the field for the given field number. * How these values are encoded depends on the given write function. * @par
deps/protobuf/js/experimental/runtime/kernel/kernel.js:3063
↓ 4 callersMethodaddRepeatedSfixed64Iterable_
* Adds all sfixed64 values into the field for the given field number. * How these values are encoded depends on the given write function. * @par
deps/protobuf/js/experimental/runtime/kernel/kernel.js:3210
↓ 4 callersMethodaddRepeatedSint32Iterable_
* Adds all sint32 values into the field for the given field number. * How these values are encoded depends on the given write function. * @param
deps/protobuf/js/experimental/runtime/kernel/kernel.js:3357
↓ 4 callersMethodaddRepeatedSint64Iterable_
* Adds all sint64 values into the field for the given field number. * How these values are encoded depends on the given write function. * @param
deps/protobuf/js/experimental/runtime/kernel/kernel.js:3504
↓ 4 callersMethodaddRepeatedUint32Iterable_
* Adds all uint32 values into the field for the given field number. * How these values are encoded depends on the given write function. * @param
deps/protobuf/js/experimental/runtime/kernel/kernel.js:3651
↓ 4 callersMethodadd_attribute
(self, attribute_name, attribute)
coremltools/converters/mil/experimental/passes/generic_pass_infrastructure.py:71
↓ 4 callersMethodadd_batchnorm
Add a batch normalization layer. Batch normalization operation is defined as: ``y = gamma * (x - mean) / sqrt(variance + eps
coremltools/models/neural_network/builder.py:3949
↓ 4 callersMethodadd_categorical_distribution
Add a categorical_distribution layer to the model that fills the output tensor with random values from categorical distribution.
coremltools/models/neural_network/builder.py:8009
↓ 4 callersMethodadd_concat_nd
Add a concat_nd layer to the model that performs concatenation along the given axis. Refer to the ``ConcatNDLayerParams`` mes
coremltools/models/neural_network/builder.py:5013
↓ 4 callersMethodadd_crop
Add a cropping layer to the model. The cropping layer have two functional modes: - When it has 1 input blob, it crops th
coremltools/models/neural_network/builder.py:3125
↓ 4 callersMethodadd_embedding_nd
Add an embedding layer to the model that performs a matrix lookup and optionally adds a bias. Refer to the ``EmbeddingNDLayer
coremltools/models/neural_network/builder.py:6938
↓ 4 callersMethodadd_location
deps/protobuf/src/google/protobuf/descriptor.pb.h:14437
↓ 4 callersMethodadd_lrn
Add a LRN (local response normalization) layer. Supports "across" channels normalization. Refer to the ``LRNLayerParams`` message in
coremltools/models/neural_network/builder.py:4226
↓ 4 callersMethodadd_multiply_broadcastable
Add a multiply_broadcastable layer to the model that performs element-wise multiplication operation with broadcast support. R
coremltools/models/neural_network/builder.py:5426
↓ 4 callersMethodadd_oneof_decl
deps/protobuf/src/google/protobuf/descriptor.pb.h:9750
↓ 4 callersMethodadd_padding
Add a padding layer to the model that performs padding along spatial dimensions. Refer to the ``PaddingLayerParams`` message in th
coremltools/models/neural_network/builder.py:3054
↓ 4 callersFunctionadd_patient
deps/pybind11/include/pybind11/detail/class.h:381
↓ 4 callersMethodadd_reserved_name
deps/protobuf/src/google/protobuf/descriptor.pb.h:9901
↓ 4 callersMethodadd_reshape_static
Add a reshape_static layer to the model that reshapes a tensor. Refer to the ``ReshapeStaticLayerParams`` message in the specificatio
coremltools/models/neural_network/builder.py:7570
↓ 4 callersMethodadd_samples
Add some samples to the KNearestNeighborsClassifier model. Parameters ---------- data_points List of
coremltools/models/nearest_neighbors/builder.py:558
↓ 4 callersMethodadd_span
deps/protobuf/src/google/protobuf/descriptor.pb.h:14168
↓ 4 callersMethodadd_upsample
Add an upsample layer to the model. Refer to the ``UpsampleLayerParams`` message in the specification (NeuralNetwork.proto) f
coremltools/models/neural_network/builder.py:1995
↓ 4 callersMethodadd_where_broadcastable
Add a where_broadcastable layer to the model that returns the elements either from tensor x or tensor y, depending on the value in th
coremltools/models/neural_network/builder.py:8651
↓ 4 callersMethodapply_pipeline
Apply a pass pipeline to a program, which modifies the program in-place.
coremltools/converters/mil/mil/passes/pass_pipeline.py:466
↓ 4 callersFunctionarray_descriptor1_proxy
deps/pybind11/include/pybind11/numpy.h:401
↓ 4 callersFunctionarray_descriptor2_proxy
deps/pybind11/include/pybind11/numpy.h:405
↓ 4 callersMethodasByteStringList
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java:201
↓ 4 callersMethodasUint8Array
* Returns the DataView as an Uint8Array. DO NOT MODIFY or expose the * underlying buffer. * * @package * @return {!Uint8Array}
deps/protobuf/js/experimental/runtime/kernel/buffer_decoder.js:337
↓ 4 callersMethodas_dict
Returns the config as a dictionary.
coremltools/optimize/torch/_utils/python_utils.py:111
↓ 4 callersMethodassertClearViaReflection
Assert (using {@code junit.framework.Assert}} that all fields of {@code message} are cleared, and that getting the fields returns their default values
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:3295
↓ 4 callersMethodassertEqualsExactType
(int a, int b)
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:1127
↓ 4 callersMethodassertInvalidWireFormat
( MessageLite defaultInstance, byte[] data, int offset, int length)
deps/protobuf/java/core/src/test/java/com/google/protobuf/WireFormatLiteTest.java:542
↓ 4 callersMethodassertIsValid
(byte[] data, boolean valid)
deps/protobuf/java/core/src/test/java/com/google/protobuf/Utf8Test.java:110
↓ 4 callersMethodassertReadFrom
(byte[] bytes)
deps/protobuf/java/core/src/test/java/com/google/protobuf/ByteStringTest.java:412
↓ 4 callersMethodassertReflectionSettersRejectNull
Verifies that the reflection setters for the given.Builder object throw a NullPointerException if they are passed a null value. Uses Assert to throw a
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:3659
↓ 4 callersMethodassertRoundTripEquals
(MessageLite message, ExtensionRegistryLite registry)
deps/protobuf/java/core/src/test/java/com/google/protobuf/ParserTest.java:65
↓ 4 callersMethodassertTestPackedMessage
($m)
deps/protobuf/php/tests/test_util.php:414
↓ 4 callersMethodassertUnpackedFieldsSet
Assert (using {@code junit.framework.Assert}} that all fields of {@code message} are set to the values assigned by {@code setUnpackedFields}.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:1076
↓ 4 callersFunctionassert_cast_ops_count
(mlmodel, expected_count)
coremltools/converters/mil/testing_utils.py:845
↓ 4 callersMethodauthor
(self)
coremltools/models/model.py:660
↓ 4 callersMethodbase
Base object
deps/pybind11/include/pybind11/numpy.h:937
↓ 4 callersMethodbegin
deps/pybind11/include/pybind11/detail/type_caster_base.h:375
↓ 4 callersFunctionbetween
deps/protobuf/php/ext/google/protobuf/php-upb.c:5335
↓ 4 callersFunctionbetween
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4950
↓ 4 callersMethodbinary
deps/nlohmann/json.hpp:6166
↓ 4 callersMethodbinarySearch
(T[] array, int size, NumberGetter<T> getter, int number)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:2790
↓ 4 callersMethodbinarySearchInArray
@param key The key to find in the entry array. @return The returned integer position follows the same semantics as the value returned by {@link ja
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:314
↓ 4 callersFunctionbisect_model
Utility function to split a mlpackage model into two mlpackages of approximately same file size. Parameters ---------- model: str or
coremltools/models/utils.py:1867
↓ 4 callersFunctionbswap_32
deps/protobuf/src/google/protobuf/stubs/port.h:261
↓ 4 callersFunctionbswap_64
deps/protobuf/src/google/protobuf/stubs/port.h:271
↓ 4 callersMethodbuffer
This method does not perform bounds checking on the array. Checking array bounds is the responsibility of the caller.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2268
↓ 4 callersMethodbufferFixed32NoTag
This method does not perform bounds checking on the array. Checking array bounds is the responsibility of the caller.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2364
↓ 4 callersMethodbufferFixed64NoTag
This method does not perform bounds checking on the array. Checking array bounds is the responsibility of the caller.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:2376
↓ 4 callersMethodbufferPos
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/BinaryWriter.java:2604
↓ 4 callersMethodbuild_quant_conv_layer
( self, W=None, quantization_type="linear", nbits=8, quant_scale=None,
coremltools/test/neural_network/test_nn_builder.py:136
↓ 4 callersMethodbytes
Helper to construct a byte array from a bunch of bytes. The inputs are actually ints so that I can use hex notation and not get stupid errors about pr
deps/protobuf/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java:134
↓ 4 callersFunctionbytesCompare
* Helper: compare a bytes field to an expected value * @param {Uint8Array|string} arr * @param {Uint8Array} expected * @return {boolean}
deps/protobuf/js/binary/proto_test.js:178
↓ 4 callersFunctionbytesCompare
* Helper: compare a bytes field to an expected value * @param {Uint8Array|string} arr * @param {Uint8Array} expected * @return {boolean}
deps/protobuf/js/compatibility_tests/v3.1.0/binary/proto_test.js:174
↓ 4 callersFunctionbytesCompare
* Helper: compare a bytes field to an expected value * @param {Uint8Array|string} arr * @param {Uint8Array} expected * @return {boolean}
deps/protobuf/js/compatibility_tests/v3.0.0/binary/proto_test.js:174
↓ 4 callersMethodcalculate_qparams
Compute the quantization parameters using the min_val and max_val buffers. Return the scale and zero-point quantization parameters.
coremltools/optimize/torch/quantization/modules/observers.py:95
↓ 4 callersFunctioncalibration_loader
()
coremltools/test/optimize/torch/layerwise_compression/test_algorithms.py:182
↓ 4 callersMethodcallMethod
Call a method of the service specified by MethodDescriptor. This is normally implemented as a simple {@code switch()} that calls the standard definiti
deps/protobuf/java/core/src/main/java/com/google/protobuf/Service.java:77
↓ 4 callersMethodcall_method
Asynchronously call a method on the remote service. This method is responsible for invoking a named method on the remote service,
coremltools/models/ml_program/experimental/remote_device.py:1642
↓ 4 callersFunctioncast
deps/pybind11/include/pybind11/eigen/matrix.h:691
↓ 4 callersFunctioncast_impl
deps/pybind11/include/pybind11/eigen/tensor.h:269
↓ 4 callersFunctioncb
(value)
deps/pybind11/tests/test_type_caster_pyobject_ptr.py:46
↓ 4 callersFunctionchange_input_output_tensor_type
Change the tensor data types of Core ML model inputs / outputs. Supported types are FLOAT16, FLOAT32. Parameters ---------- ml_model
coremltools/models/utils.py:2276
↓ 4 callersFunctionchdir
deps/protobuf/src/google/protobuf/io/io_win32.cc:295
↓ 4 callersFunctioncheckCriticalTypeFloat
* Checks whether a given object is a number and within float32 precision. * @param {*} value * @throws {!Error} If the value is not float and the ch
deps/protobuf/js/experimental/runtime/internal/checks.js:550
↓ 4 callersFunctioncheckCriticalTypeMessageArray
* Checks whether a given object is an array of message. * @param {*} values
deps/protobuf/js/experimental/runtime/internal/checks.js:650
↓ 4 callersMethodcheckMutable
Throws an {@link UnsupportedOperationException} if immutable.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java:120
↓ 4 callersFunctioncheckRank
mlmodel/src/Validation/NeuralNetwork/NeuralNetworkValidatorUtils.hpp:33
↓ 4 callersMethodcheckUint32
(&$var)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:120
↓ 4 callersFunctioncheck_ident
deps/protobuf/php/ext/google/protobuf/php-upb.c:5749
↓ 4 callersFunctioncheck_ident
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:5364
↓ 4 callersMethodcheck_relu
(model: Union[ct.models.MLModel, ct.models.CompiledMLModel])
coremltools/converters/mil/backend/mil/test_load.py:534
↓ 4 callersFunctionclear
deps/pybind11/include/pybind11/pytypes.h:776
← previousnext →3,201–3,300 of 41,379, ranked by callers