MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 6 callersMethod_sklearn_setup
(self, model, dtype, data, target)
coremltools/test/sklearn_tests/test_io_types.py:72
↓ 6 callersMethod_test_compile_model_path
(self, compiled_model_path, compute_units=ComputeUnit.ALL)
coremltools/test/neural_network/test_compiled_model.py:46
↓ 6 callersMethod_test_mlmodel_correctness
:param mlmodel: coremltools.models.MLModel Test the following: - calling .predict on mlmodel works correctly - callin
coremltools/test/modelpackage/test_modelpackage.py:603
↓ 6 callersMethod_train_convert_evaluate_assert
Train a scikit-learn model, convert it and then evaluate it with CoreML
coremltools/test/xgboost_tests/test_boosted_trees_classifier_numeric.py:58
↓ 6 callersFunction_upb_array_mutable_accessor
deps/protobuf/php/ext/google/protobuf/php-upb.h:1406
↓ 6 callersFunction_upb_array_mutable_accessor
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1410
↓ 6 callersFunction_upb_mapsorter_getkeys
deps/protobuf/php/ext/google/protobuf/php-upb.c:1676
↓ 6 callersFunction_upb_mapsorter_getkeys
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1676
↓ 6 callersFunction_upb_value_setval
deps/protobuf/php/ext/google/protobuf/php-upb.h:787
↓ 6 callersFunction_upb_value_setval
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:787
↓ 6 callersFunction_verify_quant_range
(fake_quant, weight_n_bits, weight_dtype)
coremltools/test/optimize/torch/quantization/test_configure.py:80
↓ 6 callersFunctionabs
Not a good abs function, but easy to test.
deps/pybind11/tests/test_operator_overloading.cpp:133
↓ 6 callersMethodaddBoolean
Like {@link #add(Boolean)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/BooleanArrayList.java:194
↓ 6 callersFunctionaddInnerProductLayer
mlmodel/tests/ModelCreationUtils.cpp:103
↓ 6 callersMethodaddValue
($number, $value)
deps/protobuf/php/src/Google/Protobuf/Internal/EnumDescriptor.php:33
↓ 6 callersMethodadd_branch
Add a branch layer to the model that provides the functionality of branching or an ``if-else`` block. Refer to the ``BranchLa
coremltools/models/neural_network/builder.py:6051
↓ 6 callersFunctionadd_deps
(curr_op: proto.MIL_pb2.Operation)
coremltools/models/ml_program/experimental/debugging_utils.py:710
↓ 6 callersMethodadd_enum_type
deps/protobuf/src/google/protobuf/descriptor.pb.h:8898
↓ 6 callersMethodadd_extension
deps/protobuf/src/google/protobuf/descriptor.pb.h:8978
↓ 6 callersMethodadd_less_than
Add a less_than layer to the model that performs the element-wise less-than (<) operation or less-than-or-equal-to (<=) operation.
coremltools/models/neural_network/builder.py:6253
↓ 6 callersMethodadd_path
deps/protobuf/src/google/protobuf/descriptor.pb.h:14121
↓ 6 callersMethodadd_scatter
Add a scatter layer to the model that scatters data into a new tensor according to indices from the input. Refer to the ``Sca
coremltools/models/neural_network/builder.py:6526
↓ 6 callersFunctionany_variadic
(val)
coremltools/converters/mil/mil/types/symbolic.py:71
↓ 6 callersFunctionarrayBufferSlice
* ArrayBuffer.prototype.slice, but fallback to manual copy if missing. * @param {!ArrayBuffer} buffer * @param {number} start * @param {number=} en
deps/protobuf/js/experimental/runtime/kernel/typed_arrays.js:53
↓ 6 callersFunctionascii_isspace
deps/protobuf/src/google/protobuf/stubs/strutil.h:78
↓ 6 callersMethodassertFloatEquals
* Polyfill for phpunit6. */
deps/protobuf/php/tests/test_base.php:30
↓ 6 callersMethodassertInvalid
(int... bytesAsInt)
deps/protobuf/java/core/src/test/java/com/google/protobuf/DecodeUtf8Test.java:206
↓ 6 callersMethodassertMapValuesSet
(TestMap message)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapForProto2LiteTest.java:96
↓ 6 callersMethodassertMapValuesSet
(TestMap message)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapLiteTest.java:99
↓ 6 callersFunctionassert_equal_tensor_ref
(mat, writeable=True, modified=None)
deps/pybind11/tests/test_eigen_tensor.py:52
↓ 6 callersMethodbegin
deps/pybind11/tests/test_sequences_and_iterators.cpp:261
↓ 6 callersMethodblock
deps/pybind11/tests/test_eigen_matrix.cpp:250
↓ 6 callersMethodboolean
deps/nlohmann/json.hpp:6141
↓ 6 callersFunctionbuildBasicNeuralNetworkClassifierModel
mlmodel/tests/ModelCreationUtils.cpp:164
↓ 6 callersFunctioncapsule
deps/pybind11/include/pybind11/pytypes.h:1955
↓ 6 callersMethodcbegin
deps/protobuf/src/google/protobuf/map.h:1204
↓ 6 callersMethodcend
deps/protobuf/src/google/protobuf/map.h:1205
↓ 6 callersMethodchangeValue
(LazyField lazyField)
deps/protobuf/java/core/src/test/java/com/google/protobuf/LazyFieldTest.java:116
↓ 6 callersFunctioncheckCriticalTypeUnsignedInt32
* Ensures that value is a valid unsigned int32. * @param {*} value * @throws {!Error} If the value is out of range and the check state * is critica
deps/protobuf/js/experimental/runtime/internal/checks.js:619
↓ 6 callersFunctioncheckCriticalTypeUnsignedInt32Array
* Checks whether a given object is an array of unsigned int32. * @param {*} values
deps/protobuf/js/experimental/runtime/internal/checks.js:635
↓ 6 callersMethodcheckIsLite
Checks that the {@link Extension} is Lite and returns it as a {@link GeneratedExtension}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java:1400
↓ 6 callersMethodcheckRange
Checks that the given range falls within the bounds of an array @param startIndex the start index of the range (inclusive) @param endIndex the end in
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:1279
↓ 6 callersMethodclear
(Builder builder)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2050
↓ 6 callersMethodclose
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:3891
↓ 6 callersMethodcompare
deps/pybind11/include/pybind11/buffer_info.h:189
↓ 6 callersMethodcompress
The compress method performs a `k-means` operation on all supported modules. Args: num_kmeans_workers (:obj:`int`): Numb
coremltools/optimize/torch/palettization/post_training_palettization.py:281
↓ 6 callersMethodcomputeBytesSizeNoTag
Compute the number of bytes that would be needed to encode a {@code bytes} field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:861
↓ 6 callersFunctionconnect_edge
(g, source, dest)
coremltools/converters/mil/frontend/tensorflow/basic_graph_ops.py:7
↓ 6 callersFunctionconstexpr_sum
deps/pybind11/include/pybind11/detail/common.h:824
↓ 6 callersMethodconsume
If the next token exactly matches {@code token}, consume it. Otherwise, throw a {@link ParseException}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:1024
↓ 6 callersMethodcopy
deps/protobuf/src/google/protobuf/stubs/stringpiece.cc:78
↓ 6 callersMethodcopyFrom
Copies the specified range of the specified array into a new array
deps/protobuf/java/core/src/main/java/com/google/protobuf/ByteString.java:110
↓ 6 callersMethodcreate
Construct a new, empty instance.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ExtensionRegistryFactory.java:60
↓ 6 callersMethodcreateLazyFieldFromMessage
(MessageLite message)
deps/protobuf/java/core/src/test/java/com/google/protobuf/LazyFieldTest.java:110
↓ 6 callersFunctioncreate_model
Create MLModel with specified types Parameters ---------- spec: Pb spec from 3rd party converted model Returns ------- M
coremltools/test/sklearn_tests/test_io_types.py:23
↓ 6 callersMethoddec_ref
deps/pybind11/include/pybind11/gil.h:93
↓ 6 callersMethoddecodeUnknownField
Decodes an unknown field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ArrayDecoders.java:983
↓ 6 callersFunctiondecode_isdone
deps/protobuf/php/ext/google/protobuf/php-upb.h:1858
↓ 6 callersFunctiondecode_isdone
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1862
↓ 6 callersMethoddefaultValue
* @ignore */
deps/protobuf/php/src/Google/Protobuf/Internal/Message.php:267
↓ 6 callersFunctiondtype
(context, node)
coremltools/converters/mil/frontend/torch/ops.py:7767
↓ 6 callersMethoddtype
(self)
coremltools/converters/mil/mil/var.py:256
↓ 6 callersFunctionencode_bytes
Writes the given bytes to the buffer, handling reserve/advance. */
deps/protobuf/php/ext/google/protobuf/php-upb.c:1079
↓ 6 callersFunctionencode_bytes
Writes the given bytes to the buffer, handling reserve/advance. */
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:1079
↓ 6 callersMethodencodedLength
Returns the number of bytes in the UTF-8-encoded form of {@code sequence}. For a string, this method is equivalent to {@code string.getBytes(UTF_8).le
deps/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java:239
↓ 6 callersMethodend
deps/pybind11/tests/test_sequences_and_iterators.cpp:262
↓ 6 callersMethodend_array
deps/nlohmann/json.hpp:6191
↓ 6 callersMethodend_object
deps/nlohmann/json.hpp:6181
↓ 6 callersFunctionensureCommonBaseLine
* Ensures certain base libs are live so we can have an apples to apples * comparison for code size of different implementations
deps/protobuf/js/experimental/benchmarks/code_size/code_size_base.js:51
↓ 6 callersMethodensureIsMutable
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldSet.java:1062
↓ 6 callersMethodensureMutableMessageList
Ensures that the list of messages is mutable so it can be updated. If it's immutable, a copy is made.
deps/protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilderV3.java:146
↓ 6 callersMethodensureMutableMessageList
Ensures that the list of messages is mutable so it can be updated. If it's immutable, a copy is made.
deps/protobuf/java/core/src/main/java/com/google/protobuf/RepeatedFieldBuilder.java:146
↓ 6 callersMethodentrySet
Similar to the AbstractMap implementation of {@code keySet()} and {@code values()}, the entry set is created the first time this method is called, and
deps/protobuf/java/core/src/main/java/com/google/protobuf/SmallSortedMap.java:351
↓ 6 callersMethodenumvalue_size
deps/protobuf/src/google/protobuf/type.pb.h:2104
↓ 6 callersMethodeol
Signifies reaching the "end of the current line" in the output. In single-line mode, this does not result in a newline being emitted, but ensures that
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:866
↓ 6 callersMethodescapeBytes
Escapes bytes in the format used in protocol buffer text format, which is the same as the format used for C string literals. All bytes that are not pr
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormat.java:2284
↓ 6 callersMethodexecute
deps/pybind11/include/pybind11/operators.h:89
↓ 6 callersFunctionfft_canonicalize_length_dim
Canonicalize shape and dim for 1-D FFT (based on PyTorch's fft documentation): - length: Signal length. If given, the input will either be ze
coremltools/converters/mil/mil/ops/defs/complex_dialect_ops.py:51
↓ 6 callersMethodfield_size
deps/protobuf/src/google/protobuf/descriptor.pb.h:9525
↓ 6 callersMethodfindExtensionByNumber
( ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageReflection.java:225
↓ 6 callersMethodfindLiteExtensionByNumber
Find an extension by containing type and field number. @return Information about the extension if found, or {@code null} otherwise.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ExtensionRegistryLite.java:153
↓ 6 callersMethodfixed32
deps/protobuf/src/google/protobuf/unknown_field_set.h:349
↓ 6 callersMethodfixed64
deps/protobuf/src/google/protobuf/unknown_field_set.h:353
↓ 6 callersMethodforOneofMemberField
Constructor for a field that is part of a oneof. @param fieldNumber the unique field number for this field within the message. @param fieldType the t
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldInfo.java:225
↓ 6 callersMethodforRepeatedMessageField
Constructs a new descriptor for a repeated message field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldInfo.java:114
↓ 6 callersMethodfree
deps/pybind11/include/pybind11/eigen/tensor.h:84
↓ 6 callersMethodfrom_samples
(samples: List[float])
coremltools/models/ml_program/experimental/perf_utils.py:184
↓ 6 callersFunctionfused_mod_config
Returns backend pattern config for fused modules.
coremltools/optimize/torch/quantization/_backend_config_utils.py:108
↓ 6 callersMethodget
(int index)
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java:110
↓ 6 callersMethodgetBuilder
Gets a builder for the field. If no builder has been created yet, a builder is created on demand by calling {@link Message#toBuilder}. @return The bu
deps/protobuf/java/core/src/main/java/com/google/protobuf/SingleFieldBuilderV3.java:124
↓ 6 callersMethodgetExtensionRegistryLite
Get an unmodifiable {@link ExtensionRegistryLite} containing all the extensions of {@code TestAllExtensionsLite}.
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtilLite.java:306
↓ 6 callersMethodgetFieldCount
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:2735
↓ 6 callersMethodgetFields
* The list of fields. * * Generated from protobuf field <code>repeated .google.protobuf.Field fields = 2;</code> * @return \Google\Prot
deps/protobuf/php/src/Google/Protobuf/Type.php:112
↓ 6 callersMethodgetFile
* Generated from protobuf field <code>repeated .google.protobuf.FileDescriptorProto file = 1;</code> * @return \Google\Protobuf\Internal\Repeated
deps/protobuf/php/src/Google/Protobuf/Internal/FileDescriptorSet.php:44
↓ 6 callersMethodgetGeneratedPool
()
deps/protobuf/php/src/Google/Protobuf/Internal/DescriptorPool.php:50
↓ 6 callersMethodgetLocations
Retrieve all the locations of a field. @param fieldDescriptor the {@link FieldDescriptor} of the desired field @return a list of the locations of val
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatParseInfoTree.java:97
↓ 6 callersMethodgetMapDefaultEntry
(Class<?> clazz, String name)
deps/protobuf/java/core/src/main/java/com/google/protobuf/SchemaUtil.java:825
↓ 6 callersMethodgetMutableList
Gets a mutable List view of this MapField.
deps/protobuf/java/core/src/main/java/com/google/protobuf/MapField.java:246
↓ 6 callersMethodgetName
Get the field's unqualified name.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1083
↓ 6 callersMethodgetNestedType
()
deps/protobuf/php/src/Google/Protobuf/Internal/Descriptor.php:94
← previousnext →2,201–2,300 of 41,379, ranked by callers