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
Function
_GetFieldByName
Returns a field descriptor by field name. Args: message_descriptor: A Descriptor describing all fields in message. field_name: The name of
deps/protobuf/python/google/protobuf/internal/python_message.py:567
↓ 1 callers
Function
_GetIntegerEnumValue
Convert a string or integer enum value to an integer. If the value is a string, it is converted to the enum value in enum_type with the same
deps/protobuf/python/google/protobuf/internal/python_message.py:483
↓ 1 callers
Function
_GetMessageFromFactory
Get a proto class from the MessageFactory by name. Args: factory: a MessageFactory instance. full_name: str, the fully qualified name of th
deps/protobuf/python/google/protobuf/proto_builder.py:42
↓ 1 callers
Method
_InternalFindFileContainingSymbol
Gets the already built FileDescriptor containing the specified symbol. Args: symbol (str): The name of the symbol to search for. Retur
deps/protobuf/python/google/protobuf/descriptor_pool.py:452
↓ 1 callers
Method
_InternalParse
deps/protobuf/src/google/protobuf/parse_context.cc:535
↓ 1 callers
Method
_InternalParse
deps/protobuf/src/google/protobuf/wire_format.cc:778
↓ 1 callers
Function
_InternalUnpackAny
Unpacks Any message and returns the unpacked message. This internal method is different from public Any Unpack method which takes the target mess
deps/protobuf/python/google/protobuf/internal/python_message.py:938
↓ 1 callers
Function
_IsMessageSetExtension
(field)
deps/protobuf/python/google/protobuf/descriptor_pool.py:110
↓ 1 callers
Function
_IsMessageSetExtension
(field)
deps/protobuf/python/google/protobuf/internal/python_message.py:265
↓ 1 callers
Function
_IsPresent
Given a (FieldDescriptor, value) tuple from _fields, return true if the value should be included in the list returned by ListFields().
deps/protobuf/python/google/protobuf/internal/python_message.py:806
↓ 1 callers
Method
_IsProto3Syntax
(message)
deps/protobuf/python/google/protobuf/text_format.py:1053
↓ 1 callers
Function
_IsSingletonList
True iff testcases contains only a single non-tuple element.
deps/protobuf/python/google/protobuf/internal/_parameterized.py:260
↓ 1 callers
Function
_IsValidPath
Checks whether the path is valid for Message Descriptor.
deps/protobuf/python/google/protobuf/internal/well_known_types.py:497
↓ 1 callers
Method
_ListValueMessageToJsonObject
Converts ListValue message according to Proto3 JSON Specification.
deps/protobuf/python/google/protobuf/json_format.py:358
↓ 1 callers
Function
_MacroArgRefRe
(macro_arg_names)
deps/protobuf/objectivec/DevTools/pddm.py:128
↓ 1 callers
Function
_MacroRefRe
(macro_names)
deps/protobuf/objectivec/DevTools/pddm.py:121
↓ 1 callers
Method
_MakeEnumValueDescriptor
Creates a enum value descriptor object from a enum value proto. Args: value_proto: The proto describing the enum value. index: The in
deps/protobuf/python/google/protobuf/descriptor_pool.py:1134
↓ 1 callers
Function
_MakeFileDescriptorProto
Populate FileDescriptorProto for MessageFactory's DescriptorPool.
deps/protobuf/python/google/protobuf/proto_builder.py:114
↓ 1 callers
Method
_MakeMethodDescriptor
Creates a method descriptor from a MethodDescriptorProto. Args: method_proto: The proto describing the method. service_name: The name
deps/protobuf/python/google/protobuf/descriptor_pool.py:1190
↓ 1 callers
Method
_MakeSection
(self, line, line_num)
deps/protobuf/objectivec/DevTools/pddm.py:589
↓ 1 callers
Method
_MakeServiceDescriptor
Make a protobuf ServiceDescriptor given a ServiceDescriptorProto. Args: service_proto: The descriptor_pb2.ServiceDescriptorProto protobuf m
deps/protobuf/python/google/protobuf/descriptor_pool.py:1154
↓ 1 callers
Function
_MergeMessage
Merge all fields specified by a sub-tree from source to destination.
deps/protobuf/python/google/protobuf/internal/well_known_types.py:663
↓ 1 callers
Function
_ModifiedDecoder
Like SimpleDecoder but additionally invokes modify_value on every value before storing it. Usually modify_value is ZigZagDecode.
deps/protobuf/python/google/protobuf/internal/decoder.py:248
↓ 1 callers
Function
_ModifiedEncoder
Like SimpleEncoder but additionally invokes modify_value on every value before passing it to encode_value. Usually modify_value is ZigZagEncode.
deps/protobuf/python/google/protobuf/internal/encoder.py:471
↓ 1 callers
Function
_ModifiedSizer
Like SimpleSizer, but modify_value is invoked on each value before it is passed to compute_value_size. modify_value is typically ZigZagEncode.
deps/protobuf/python/google/protobuf/internal/encoder.py:153
↓ 1 callers
Function
_ModifyClass
(class_object, testcases, naming_type)
deps/protobuf/python/google/protobuf/internal/_parameterized.py:265
↓ 1 callers
Method
_NonImplementedMethod
The body of all methods in the generated service class. Args: method_name: Name of the method being executed. rpc_controller: RPC con
deps/protobuf/python/google/protobuf/service_reflection.py:221
↓ 1 callers
Function
_OptionsOrNone
Returns the value of the field `options`, or None if it is not set.
deps/protobuf/python/google/protobuf/descriptor.py:1053
↓ 1 callers
Method
_ParseDefineLine
(self, input_line)
deps/protobuf/objectivec/DevTools/pddm.py:235
↓ 1 callers
Function
_ParseOptions
Parses serialized options. This helper function is used to parse serialized options in generated proto2 files. It must not be used outside proto2
deps/protobuf/python/google/protobuf/descriptor.py:1022
↓ 1 callers
Method
_PopLine
(self)
deps/protobuf/python/google/protobuf/text_format.py:1269
↓ 1 callers
Method
_PrintShortRepeatedPrimitivesValue
Prints short repeated primitives value.
deps/protobuf/python/google/protobuf/text_format.py:550
↓ 1 callers
Method
_PrintUnknownFields
Print unknown fields.
deps/protobuf/python/google/protobuf/text_format.py:459
↓ 1 callers
Method
_ReplaceArgValues
(self, macro, arg_values, macro_ref_to_report, macro_stack)
deps/protobuf/objectivec/DevTools/pddm.py:315
↓ 1 callers
Function
_ReraiseTypeErrorWithFieldName
Re-raise the currently-handled TypeError with the field name added.
deps/protobuf/python/google/protobuf/internal/python_message.py:469
↓ 1 callers
Method
_SetAllFieldTypes
Sets all the descriptor's fields's types. This method also sets the containing types on any extensions. Args: package: The current pac
deps/protobuf/python/google/protobuf/descriptor_pool.py:1026
↓ 1 callers
Function
_SignedVarintDecoder
Like _VarintDecoder() but decodes signed values.
deps/protobuf/python/google/protobuf/internal/decoder.py:124
↓ 1 callers
Function
_SignedVarintEncoder
Return an encoder for a basic signed varint value (does not include tag).
deps/protobuf/python/google/protobuf/internal/encoder.py:387
↓ 1 callers
Function
_SimpleEncoder
Return a constructor for an encoder for fields of a particular type. Args: wire_type: The field's wire type, for encoding tags. encode
deps/protobuf/python/google/protobuf/internal/encoder.py:430
↓ 1 callers
Function
_SimpleSizer
A sizer which uses the function compute_value_size to compute the size of each value. Typically compute_value_size is _VarintSize.
deps/protobuf/python/google/protobuf/internal/encoder.py:124
↓ 1 callers
Function
_SkipField
Skips over a complete field (name and value/message). Args: tokenizer: A tokenizer to parse the field name and values.
deps/protobuf/python/google/protobuf/text_format.py:1153
↓ 1 callers
Function
_SkipFieldMessage
Skips over a field message. Args: tokenizer: A tokenizer to parse the field name and values.
deps/protobuf/python/google/protobuf/text_format.py:1176
↓ 1 callers
Function
_SkipFieldValue
Skips over a field value. Args: tokenizer: A tokenizer to parse the field name and values. Raises: ParseError: In case an invalid field
deps/protobuf/python/google/protobuf/text_format.py:1195
↓ 1 callers
Function
_SnakeCaseToCamelCase
Converts a path name from snake_case to camelCase.
deps/protobuf/python/google/protobuf/internal/well_known_types.py:520
↓ 1 callers
Function
_StrConvert
Converts value to str if it is not.
deps/protobuf/python/google/protobuf/internal/well_known_types.py:653
↓ 1 callers
Method
_StringParseError
(self, e)
deps/protobuf/python/google/protobuf/text_format.py:1532
↓ 1 callers
Function
_StructPackDecoder
Return a constructor for a decoder for a fixed-width field. Args: wire_type: The field's wire type. format: The format string to pass
deps/protobuf/python/google/protobuf/internal/decoder.py:262
↓ 1 callers
Function
_StructPackEncoder
Return a constructor for an encoder for a fixed-width field. Args: wire_type: The field's wire type, for encoding tags. format: The f
deps/protobuf/python/google/protobuf/internal/encoder.py:505
↓ 1 callers
Method
_StubMethod
The body of all service methods in the generated stub class. Args: stub: Stub instance. method_descriptor: Descriptor of the invoked
deps/protobuf/python/google/protobuf/service_reflection.py:272
↓ 1 callers
Method
_TestEnum
(self, prefix)
deps/protobuf/python/google/protobuf/internal/descriptor_pool_test.py:909
↓ 1 callers
Method
_TestMessage
(self, prefix)
deps/protobuf/python/google/protobuf/internal/descriptor_pool_test.py:873
↓ 1 callers
Function
_ToCamelCase
Converts name to camel-case and returns it.
deps/protobuf/python/google/protobuf/descriptor.py:1032
↓ 1 callers
Function
_ToJsonName
Converts name to Json name and returns it.
deps/protobuf/python/google/protobuf/descriptor.py:1061
↓ 1 callers
Function
_TryConsumeInt64
(tokenizer)
deps/protobuf/python/google/protobuf/text_format.py:1591
↓ 1 callers
Function
_TryConsumeUint64
(tokenizer)
deps/protobuf/python/google/protobuf/text_format.py:1614
↓ 1 callers
Method
_TryCustomFormatMessage
(self, message)
deps/protobuf/python/google/protobuf/text_format.py:409
↓ 1 callers
Method
_TryPrintAsAnyMessage
Serializes if message is a google.protobuf.Any field.
deps/protobuf/python/google/protobuf/text_format.py:393
↓ 1 callers
Function
_VarintDecoder
Return an encoder for a basic varint value (does not include tag). Decoded values will be bitwise-anded with the given mask before being returned
deps/protobuf/python/google/protobuf/internal/decoder.py:97
↓ 1 callers
Function
_VarintEncoder
Return an encoder for a basic varint value (does not include tag).
deps/protobuf/python/google/protobuf/internal/encoder.py:370
↓ 1 callers
Method
_VerifyMethodCall
Verify the called method is expected. This can be an ordered method, or part of an unordered set. Returns: The expected mock method.
deps/protobuf/python/mox.py:588
↓ 1 callers
Method
__copy__
(self)
coremltools/converters/mil/frontend/tensorflow/tfssa.py:54
↓ 1 callers
Method
__copy__
(self)
coremltools/converters/mil/frontend/tensorflow/tfssa.py:169
↓ 1 callers
Method
__copy__
(self)
coremltools/converters/mil/frontend/tensorflow/tfssa.py:501
↓ 1 callers
Method
__delitem__
Deletes the item at the specified position.
deps/protobuf/python/google/protobuf/internal/containers.py:188
↓ 1 callers
Method
__delitem__
Deletes the item at the specified position.
deps/protobuf/python/google/protobuf/internal/containers.py:299
↓ 1 callers
Method
__eq__
(self, other)
coremltools/converters/mil/mil/types/type_spec.py:30
↓ 1 callers
Method
__eq__
(self, other)
coremltools/models/datatypes.py:19
↓ 1 callers
Method
__get__
(self, owner, cls)
coremltools/converters/mil/mil/passes/helper.py:18
↓ 1 callers
Function
__get_sklearn_version
(version)
coremltools/_deps/__init__.py:60
↓ 1 callers
Method
__getattr__
(self, t)
coremltools/converters/mil/mil/types/annotate.py:8
↓ 1 callers
Method
__getstate__
(self: _torch.nn.Module)
coremltools/optimize/torch/pruning/_base_pruning_method.py:55
↓ 1 callers
Method
__init__
(self, layer: _nn.Module, config: ModuleGPTQConfig)
coremltools/optimize/torch/layerwise_compression/algorithms.py:361
↓ 1 callers
Method
__init__
(self, model: _nn.Module, layers: str)
coremltools/optimize/torch/layerwise_compression/input_cacher.py:37
↓ 1 callers
Method
__init__
(self, conv: _nn.Module, act: _nn.Module, qconfig: _aoquant.QConfig)
coremltools/optimize/torch/quantization/modules/qat_modules.py:41
↓ 1 callers
Method
__init__
(self, conv: _nn.Module, act: _nn.Module)
coremltools/optimize/torch/quantization/modules/quantized_modules.py:16
↓ 1 callers
Method
__init__
(self, scheduled_value: _Any, scheduled_value_name: str, **kwargs: _ParamsDict)
coremltools/optimize/torch/pruning/_base_pruning_method.py:238
↓ 1 callers
Method
__init__
(self, model: _torch.nn.Module, config: _Optional[MagnitudePrunerConfig] = None)
coremltools/optimize/torch/pruning/magnitude_pruner.py:495
↓ 1 callers
Method
__init__
(self)
coremltools/test/optimize/api/test_optimize_api.py:25
↓ 1 callers
Method
__init__
(self)
coremltools/test/ml_program/test_compression.py:50
↓ 1 callers
Method
__init__
(self)
coremltools/test/ml_program/experimental/test_torch_debugging_utils.py:34
↓ 1 callers
Method
__init__
Inputs: block_inputs: python tuple[Var]. block_inputs is None except when the block represents loop. By con
coremltools/converters/mil/mil/block.py:69
↓ 1 callers
Method
__init__
(self, **kwargs)
coremltools/converters/mil/mil/input_type.py:33
↓ 1 callers
Method
__init__
(self, **kwargs)
coremltools/converters/mil/mil/ops/defs/iOS15/reduction.py:113
↓ 1 callers
Method
__init__
(self, prefix=None)
coremltools/converters/mil/mil/passes/defs/preprocess.py:115
↓ 1 callers
Method
__init__
(self, channels)
coremltools/converters/mil/frontend/torch/test/test_examples.py:29
↓ 1 callers
Method
__init__
(self)
coremltools/converters/mil/frontend/torch/test/test_torch_stateful_model.py:35
↓ 1 callers
Method
__init__
TensorFlow model loader. Parameters ---------- model: TensorFlow model Model generated using TensorFlow.
coremltools/converters/mil/frontend/tensorflow/load.py:35
↓ 1 callers
Method
__init__
Initializes the TorchModuleInspector. Parameters ---------- model : torch.nn.Module The PyTorch model to
coremltools/models/ml_program/experimental/torch/debugging_utils.py:729
↓ 1 callers
Method
__init__
( self, envvar: str | None = None, default: int = 0, max: int = 0, # pylint:
deps/pybind11/pybind11/setup_helpers.py:410
↓ 1 callers
Method
__init__
(self)
deps/pybind11/tests/test_class.py:341
↓ 1 callers
Method
__init__
Initializes an instance of the service class builder. Args: service_descriptor: ServiceDescriptor to use when constructing the serv
deps/protobuf/python/google/protobuf/service_reflection.py:127
↓ 1 callers
Method
__init__
(self, *acceptable_types)
deps/protobuf/python/google/protobuf/internal/type_checkers.py:115
↓ 1 callers
Function
__parse_cpp_result
(filename)
deps/protobuf/benchmarks/util/result_parser.py:59
↓ 1 callers
Function
__parse_go_result
(filename)
deps/protobuf/benchmarks/util/result_parser.py:210
↓ 1 callers
Function
__parse_java_result
(filename)
deps/protobuf/benchmarks/util/result_parser.py:174
↓ 1 callers
Function
__parse_js_result
(filename, language)
deps/protobuf/benchmarks/util/result_parser.py:268
↓ 1 callers
Function
__parse_php_result
(filename, language)
deps/protobuf/benchmarks/util/result_parser.py:271
↓ 1 callers
Function
__parse_python_result
(filename)
deps/protobuf/benchmarks/util/result_parser.py:124
↓ 1 callers
Function
__parse_synthetic_result
(filename)
deps/protobuf/benchmarks/util/result_parser.py:94
↓ 1 callers
Method
__refresh_categories
(self)
mlmodel/docs/readme_session.py:113
← previous
next →
9,201–9,300 of 41,379, ranked by callers