MCPcopy Create free account
hub / github.com/apple/coremltools / good

Method good

mlmodel/src/Result.cpp:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 , m_message(m_prefix + message) { }
26
27bool Result::good() const {
28 return (m_type == ResultType::NO_ERROR || m_type == ResultType::POTENTIALLY_INVALID_NEURAL_NETWORK_SHAPES);
29 }
30
31 ResultReason Result::reason() const {
32 return m_reason;

Calls

no outgoing calls

Tested by

no test coverage detected