$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$eavConfig = $objectManager->get( '\Magento\Eav\Model\Config' );
$options = $eavConfig->getAttribute( '[entity_type]', '[attribute_code]' )
->getFrontend()->getSelectOptions();
//或者
$options = $objectManager->create( 'Magento\Eav\Model\Attribute' )
->load( '[attribute_code]', 'attribute_code' )->getSource()
->getAllOptions( false );