MCPcopy Create free account

hub / github.com/apple/coremltools / functions

Functions41,379 in github.com/apple/coremltools

↓ 7 callersMethodWriteTo
(pb::CodedOutputStream output)
deps/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/UnittestWellKnownTypes.cs:3169
↓ 7 callersFunctionWriteVarintPacked
deps/protobuf/src/google/protobuf/io/coded_stream.h:896
↓ 7 callersFunctionZigZagEncode32
deps/protobuf/src/google/protobuf/io/coded_stream.h:912
↓ 7 callersFunctionZigZagEncode64
deps/protobuf/src/google/protobuf/io/coded_stream.h:915
↓ 7 callersMethod_InternalSerialize
deps/protobuf/src/google/protobuf/api.pb.cc:390
↓ 7 callersFunction_OptionsOrNone
Returns the value of the field `options`, or None if it is not set.
deps/protobuf/python/google/protobuf/descriptor_pool.py:102
↓ 7 callersMethod_SetListener
Internal method used by the protocol message implementation. Clients should not call this directly. Sets a listener that this message will ca
deps/protobuf/python/google/protobuf/message.py:370
↓ 7 callersMethod__init__
(self, conv_transpose)
coremltools/test/optimize/torch/quantization/test_configure.py:622
↓ 7 callersFunction_assert_changes_post_prepare
( original_module, palettized_module, n_bits, cluster_dim, kmeans_max_iter )
coremltools/test/optimize/torch/palettization/palettization_utils.py:15
↓ 7 callersFunction_check_var_scalar_value
:param x: var :param val: a scalar value :return: True if x.val is equal to val otherwise return False
coremltools/converters/mil/mil/passes/helper.py:124
↓ 7 callersFunction_check_visible_modules
(actual: List[str], expected: List[str])
coremltools/test/optimize/torch/test_api_surface.py:15
↓ 7 callersMethod_from_dict
An abstract method that construct an OpCompressorConfig from a dictionary. It must be implemented in the child class.
coremltools/optimize/coreml/_config.py:44
↓ 7 callersMethod_get_simple_model
()
coremltools/test/ml_program/experimental/test_torch_debugging_utils.py:24
↓ 7 callersMethod_get_singlefunction_mlpackage
(opset_version=ct.target.iOS16)
coremltools/test/ml_program/test_utils.py:93
↓ 7 callersFunction_get_visible_items
(d)
coremltools/test/optimize/torch/test_api_surface.py:11
↓ 7 callersFunction_quantize_spec_weights
(spec, nbits, quantization_mode, **kwargs)
coremltools/models/neural_network/quantization_utils.py:1142
↓ 7 callersFunction_upb_array_resize_accessor2
deps/protobuf/php/ext/google/protobuf/php-upb.h:1418
↓ 7 callersFunction_upb_array_resize_accessor2
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.h:1422
↓ 7 callersMethodaddAll
(Collection<? extends String> c)
deps/protobuf/java/core/src/main/java/com/google/protobuf/LazyStringArrayList.java:163
↓ 7 callersMethodaddDouble
Like {@link #add(Double)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/DoubleArrayList.java:194
↓ 7 callersMethodaddFloat
Like {@link #add(Float)} but more efficient in that it doesn't box the element.
deps/protobuf/java/core/src/main/java/com/google/protobuf/FloatArrayList.java:193
↓ 7 callersMethodaddRepeated
(Builder builder, Object value)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2045
↓ 7 callersMethodaddSymbol
Adds a symbol to the symbol table. If a symbol with the same name already exists, throws an error.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:2574
↓ 7 callersMethodadd_bias
Add a bias layer to the model. Refer to the ``BiasLayerParams`` message in the specification (NeuralNetwork.proto) for more d
coremltools/models/neural_network/builder.py:2189
↓ 7 callersMethodadd_copy
Add a copy layer to the model that copies its input tensor to the output tensor. Input tensor and output tensor must have distinct na
coremltools/models/neural_network/builder.py:6183
↓ 7 callersMethodadd_file
deps/protobuf/src/google/protobuf/compiler/plugin.pb.h:1870
↓ 7 callersMethodadd_metadata
(cls, observed_module: _nn.Module, return_module: _nn.Module)
coremltools/optimize/torch/palettization/_custom_conversion.py:65
↓ 7 callersMethodadd_scale
Add a scale layer to the model. Refer to the ``ScaleLayerParams`` message in the specification (NeuralNetwork.proto) for more
coremltools/models/neural_network/builder.py:2110
↓ 7 callersMethodadd_value
deps/protobuf/src/google/protobuf/descriptor.pb.h:10916
↓ 7 callersFunctionanyFeatureDescriptionOfModel
A utility function to invoke a handler with input, output, and state feature description of the model. It traverses a pipeline model. The function r
mlmodel/src/Utils.cpp:136
↓ 7 callersFunctionascii_isdigit
deps/protobuf/src/google/protobuf/stubs/strutil.h:74
↓ 7 callersFunctionascii_islower
deps/protobuf/src/google/protobuf/stubs/strutil.h:87
↓ 7 callersMethodassertMapValuesSet
(TestMap message)
deps/protobuf/java/core/src/test/java/com/google/protobuf/MapTest.java:140
↓ 7 callersMethodbyteAt
(int offset)
deps/protobuf/java/core/src/main/java/com/google/protobuf/TextFormatEscaper.java:40
↓ 7 callersFunctioncheckCriticalState
* Ensures the truth of an expression involving the state of the calling * instance, but not involving any parameters to the calling method. * * For
deps/protobuf/js/experimental/runtime/internal/checks.js:104
↓ 7 callersFunctioncheckCriticalTypeDouble
* Checks whether a given object is a number. * @param {*} value * @throws {!Error} If the value is not float and the check state is critical.
deps/protobuf/js/experimental/runtime/internal/checks.js:424
↓ 7 callersFunctioncheckFieldNumber
* Ensures that field number is an integer and within the range of * [1, MAX_FIELD_NUMBER]. * @param {number} fieldNumber * @throws {!Error} If the
deps/protobuf/js/experimental/runtime/internal/checks.js:233
↓ 7 callersMethodcheckInt64
(&$var)
deps/protobuf/php/src/Google/Protobuf/Internal/GPBUtil.php:137
↓ 7 callersFunctioncheck_fitted
Check if a model is fitted. Raise error if not. Parameters ---------- model: model Any scikit-learn model func: model
coremltools/converters/sklearn/_sklearn_util.py:7
↓ 7 callersFunctionchkdefaulttype
deps/protobuf/php/ext/google/protobuf/php-upb.c:5237
↓ 7 callersFunctionchkdefaulttype
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:4852
↓ 7 callersFunctionclean_type_id
deps/pybind11/include/pybind11/detail/typeid.h:35
↓ 7 callersMethodcols
deps/pybind11/tests/test_buffers.cpp:122
↓ 7 callersFunctioncompare
returns {-1, 0, 1}
deps/protobuf/src/google/protobuf/stubs/stringpiece.h:259
↓ 7 callersMethodcompress
Compress the supported layers in the module by quantizing each weight value of the layer. Args: inplace (:obj:`bool`): I
coremltools/optimize/torch/quantization/post_training_quantization.py:512
↓ 7 callersMethodcomputeBytesSize
Compute the number of bytes that would be needed to encode a {@code bytes} field, including tag.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:628
↓ 7 callersMethodcomputeStringSizeNoTag
Compute the number of bytes that would be needed to encode a {@code string} field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/CodedOutputStream.java:839
↓ 7 callersMethodconstruct_debug_handle_to_ops_mapping
For PyMIL program translated from ExecuTorch only: Based on scope info inherited from EXIR, construct a debug handle to ops mapping.
coremltools/converters/mil/mil/program.py:262
↓ 7 callersFunctionconvert_graph
Construct Core ML ops corresponding to `graph`. Inputs: - context (TranscriptContext) - graph (dict of str -> ParsedTFNode): op na
coremltools/converters/mil/frontend/tensorflow/convert_utils.py:137
↓ 7 callersFunctioncreate_and_destroy
(*args)
deps/pybind11/tests/test_factory_constructors.py:342
↓ 7 callersFunctioncreate_sparse_weight
(weight, target_sparsity)
coremltools/test/optimize/coreml/test_post_training_quantization.py:157
↓ 7 callersMethodcursor
* Returns the start position of the next data, i.e. end position of the last * read data + 1. * @return {number}
deps/protobuf/js/experimental/runtime/kernel/buffer_decoder.js:109
↓ 7 callersMethoddata
deps/pybind11/include/pybind11/eigen/matrix.h:555
↓ 7 callersMethoddecodeDouble
Decodes and returns a double value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ArrayDecoders.java:174
↓ 7 callersMethoddecodeFloat
Decodes and returns a float value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ArrayDecoders.java:179
↓ 7 callersMethoddecodeMessageField
Decodes a message value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/ArrayDecoders.java:234
↓ 7 callersMethoddelete
(ThreadContext context, IRubyObject key)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMap.java:311
↓ 7 callersMethoddeserialize
* Create a request instance with the given bytes data. * @param {!ArrayBuffer} bytes * @return {!ConformanceRequest}
deps/protobuf/js/experimental/runtime/kernel/conformance/conformance_request.js:31
↓ 7 callersFunctiondisconnect_edge
(g, source, dest)
coremltools/converters/mil/frontend/tensorflow/basic_graph_ops.py:101
↓ 7 callersFunctionelement
deps/protobuf/src/google/protobuf/util/internal/proto_writer.h:260
↓ 7 callersMethodenum_value_descriptor
deps/protobuf/src/google/protobuf/descriptor.cc:143
↓ 7 callersFunctioneval
deps/pybind11/include/pybind11/eval.h:48
↓ 7 callersFunctionevaluate_classifier_with_probabilities
Evaluate a classifier specification for testing. Parameters ---------- filename: [str | Model] File to load the model from,
coremltools/models/utils.py:517
↓ 7 callersFunctionfactory
NOLINTNEXTLINE(google-explicit-constructor)
deps/pybind11/include/pybind11/detail/init.h:283
↓ 7 callersMethodfailed
After a call has finished, returns true if the call failed. The possible reasons for failure depend on the RPC implementation. {@code failed()} most o
deps/protobuf/java/core/src/main/java/com/google/protobuf/RpcController.java:65
↓ 7 callersMethodforField
Constructs a new descriptor for a field.
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldInfo.java:64
↓ 7 callersMethodforMapField
( Field field, int fieldNumber, Object mapDefaultEntry, EnumVerifier enumVerifier)
deps/protobuf/java/core/src/main/java/com/google/protobuf/FieldInfo.java:298
↓ 7 callersFunctionfp32_from_bits
deps/FP16/include/fp16/bitcasts.h:20
↓ 7 callersMethodfromString
* Constructs a pair from a given string. * @param {string} s * @return {!Pair}
deps/protobuf/js/experimental/runtime/kernel/textencoding_test.js:45
↓ 7 callersMethodgetBoolean
Like {@link #get(int)} but more efficient in that it doesn't box the returned value.
deps/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:614
↓ 7 callersMethodgetBuilder
(GeneratedMessageV3.Builder builder)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2052
↓ 7 callersMethodgetDefaultValue
Returns the field's default value. Valid for all types except for messages and groups. For all other types, the object returned is of the same class t
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:1220
↓ 7 callersMethodgetField
Get a field by number. Returns an empty field if not present. Never returns {@code null}.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:127
↓ 7 callersMethodgetFieldBuilder
Get a field builder for the given field number which includes any values that already exist.
deps/protobuf/java/core/src/main/java/com/google/protobuf/UnknownFieldSet.java:329
↓ 7 callersMethodgetFile
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/Descriptors.java:2311
↓ 7 callersMethodgetHighBits
@return {number} Signed 32-bit integer value.
deps/protobuf/js/experimental/runtime/int64.js:160
↓ 7 callersMethodgetInt32WithDefault
* Returns a int32 for the given field number. * If no default is given zero as the default. * @param {number} fieldNumber * @param {number=}
deps/protobuf/js/experimental/runtime/kernel/kernel.js:639
↓ 7 callersMethodgetInvalidationCount
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/TestUtil.java:3871
↓ 7 callersMethodgetKey
()
deps/protobuf/java/core/src/test/java/com/google/protobuf/SmallSortedMapTest.java:62
↓ 7 callersMethodgetLowBits
@return {number} Signed 32-bit integer value.
deps/protobuf/js/experimental/runtime/int64.js:155
↓ 7 callersMethodgetMapFieldDefaultEntry
(int pos)
deps/protobuf/java/core/src/main/java/com/google/protobuf/MessageSchema.java:4864
↓ 7 callersMethodgetOneofDecl
()
deps/protobuf/php/src/Google/Protobuf/Internal/Descriptor.php:61
↓ 7 callersMethodgetPaths
* The set of field mask paths. * * Generated from protobuf field <code>repeated string paths = 1;</code> * @return \Google\Protobuf\Int
deps/protobuf/php/src/Google/Protobuf/FieldMask.php:196
↓ 7 callersMethodgetPublicDescriptor
($desc)
deps/protobuf/php/src/Google/Protobuf/Internal/GetPublicDescriptorTrait.php:37
↓ 7 callersMethodgetRepeated
(GeneratedMessageV3 message, int index)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2039
↓ 7 callersMethodgetRepeatedCount
(GeneratedMessageV3 message)
deps/protobuf/java/core/src/main/java/com/google/protobuf/GeneratedMessageV3.java:2048
↓ 7 callersMethodgetUnfinishedMessage
Returns the unfinished message attached to the exception, or null if no message is attached.
deps/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java:72
↓ 7 callersMethodget_flattened_inputs
Returns: list[Var]. Flatten all tuple inputs
coremltools/converters/mil/mil/operation.py:239
↓ 7 callersFunctionget_fusion_pattern
Swaps fusion pattern if torch version is >= 2.0.
coremltools/optimize/torch/quantization/_backend_config_utils.py:98
↓ 7 callersFunctionget_mlmodel
()
coremltools/test/optimize/api/test_optimize_api.py:46
↓ 7 callersMethodhash
(ThreadContext context)
deps/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMap.java:239
↓ 7 callersMethodignoringUnknownFields
Creates a new {@link Parser} configured to not throw an exception when an unknown field is encountered. The new Parser clones all other configurations
deps/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java:463
↓ 7 callersMethodincompleteStateFor
(int byte1)
deps/protobuf/java/core/src/main/java/com/google/protobuf/Utf8.java:179
↓ 7 callersMethodinstall
Installs the compile function into distutils.ccompiler.CCompiler.compile.
deps/pybind11/pybind11/setup_helpers.py:488
↓ 7 callersMethodinvalidTag
()
deps/protobuf/java/core/src/main/java/com/google/protobuf/InvalidProtocolBufferException.java:124
↓ 7 callersMethodis_tensor_or_scalar_of
(self, dtype: Union[str, type])
coremltools/converters/mil/mil/var.py:322
↓ 7 callersFunctionjsondec_errf
deps/protobuf/php/ext/google/protobuf/php-upb.c:7415
↓ 7 callersFunctionjsondec_errf
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:7030
↓ 7 callersFunctionjsonenc_err
deps/protobuf/php/ext/google/protobuf/php-upb.c:8833
↓ 7 callersFunctionjsonenc_err
deps/protobuf/ruby/ext/google/protobuf_c/ruby-upb.c:8448
← previousnext →1,901–2,000 of 41,379, ranked by callers