| /** |
| * Copyright (c) 2020 CEA LIST |
| * |
| * All rights reserved. This program and the accompanying materials are |
| * made available under the terms of the Eclipse Public License v2.0 which |
| * accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| */ |
| package org.eclipse.papyrus.aiml.profile.AIML.Tensor; |
| |
| import org.eclipse.emf.ecore.EAttribute; |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EEnum; |
| import org.eclipse.emf.ecore.EPackage; |
| import org.eclipse.emf.ecore.EReference; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * The <b>Package</b> for the model. |
| * It contains accessors for the meta objects to represent |
| * <ul> |
| * <li>each class,</li> |
| * <li>each feature of each class,</li> |
| * <li>each operation of each class,</li> |
| * <li>each enum,</li> |
| * <li>and each data type</li> |
| * </ul> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.TensorFactory |
| * @model kind="package" |
| * @generated |
| */ |
| public interface TensorPackage extends EPackage { |
| /** |
| * The package name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNAME = "Tensor"; //$NON-NLS-1$ |
| |
| /** |
| * The package namespace URI. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNS_URI = "http://www.eclipse.org/papyrus/AIML/tensor/1"; //$NON-NLS-1$ |
| |
| /** |
| * The package namespace name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNS_PREFIX = "AIML.Tensor"; //$NON-NLS-1$ |
| |
| /** |
| * The singleton instance of the package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| TensorPackage eINSTANCE = org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorPackageImpl.init(); |
| |
| /** |
| * The meta object id for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorImpl <em>Tensor</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorImpl |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorPackageImpl#getTensor() |
| * @generated |
| */ |
| int TENSOR = 0; |
| |
| /** |
| * The feature id for the '<em><b>Data</b></em>' attribute list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR__DATA = 0; |
| |
| /** |
| * The feature id for the '<em><b>Dtype</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR__DTYPE = 1; |
| |
| /** |
| * The feature id for the '<em><b>Device</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR__DEVICE = 2; |
| |
| /** |
| * The feature id for the '<em><b>Requires grad</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR__REQUIRES_GRAD = 3; |
| |
| /** |
| * The feature id for the '<em><b>Pin memory</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR__PIN_MEMORY = 4; |
| |
| /** |
| * The feature id for the '<em><b>Shape</b></em>' attribute list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR__SHAPE = 5; |
| |
| /** |
| * The feature id for the '<em><b>Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR__NAME = 6; |
| |
| /** |
| * The feature id for the '<em><b>Base Class</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR__BASE_CLASS = 7; |
| |
| /** |
| * The number of structural features of the '<em>Tensor</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR_FEATURE_COUNT = 8; |
| |
| /** |
| * The number of operations of the '<em>Tensor</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int TENSOR_OPERATION_COUNT = 0; |
| |
| /** |
| * The meta object id for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.EDType <em>ED Type</em>}' enum. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.EDType |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorPackageImpl#getEDType() |
| * @generated |
| */ |
| int ED_TYPE = 1; |
| |
| /** |
| * The meta object id for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.ETensorTypes <em>ETensor Types</em>}' enum. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.ETensorTypes |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorPackageImpl#getETensorTypes() |
| * @generated |
| */ |
| int ETENSOR_TYPES = 2; |
| |
| |
| /** |
| * Returns the meta object for class '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor <em>Tensor</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for class '<em>Tensor</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor |
| * @generated |
| */ |
| EClass getTensor(); |
| |
| /** |
| * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getData <em>Data</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute list '<em>Data</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getData() |
| * @see #getTensor() |
| * @generated |
| */ |
| EAttribute getTensor_Data(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getDtype <em>Dtype</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Dtype</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getDtype() |
| * @see #getTensor() |
| * @generated |
| */ |
| EAttribute getTensor_Dtype(); |
| |
| /** |
| * Returns the meta object for the reference '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getDevice <em>Device</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the reference '<em>Device</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getDevice() |
| * @see #getTensor() |
| * @generated |
| */ |
| EReference getTensor_Device(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#isRequires_grad <em>Requires grad</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Requires grad</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#isRequires_grad() |
| * @see #getTensor() |
| * @generated |
| */ |
| EAttribute getTensor_Requires_grad(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#isPin_memory <em>Pin memory</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Pin memory</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#isPin_memory() |
| * @see #getTensor() |
| * @generated |
| */ |
| EAttribute getTensor_Pin_memory(); |
| |
| /** |
| * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getShape <em>Shape</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute list '<em>Shape</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getShape() |
| * @see #getTensor() |
| * @generated |
| */ |
| EAttribute getTensor_Shape(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getName <em>Name</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Name</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getName() |
| * @see #getTensor() |
| * @generated |
| */ |
| EAttribute getTensor_Name(); |
| |
| /** |
| * Returns the meta object for the reference '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getBase_Class <em>Base Class</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the reference '<em>Base Class</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.Tensor#getBase_Class() |
| * @see #getTensor() |
| * @generated |
| */ |
| EReference getTensor_Base_Class(); |
| |
| /** |
| * Returns the meta object for enum '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.EDType <em>ED Type</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for enum '<em>ED Type</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.EDType |
| * @generated |
| */ |
| EEnum getEDType(); |
| |
| /** |
| * Returns the meta object for enum '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.ETensorTypes <em>ETensor Types</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for enum '<em>ETensor Types</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.ETensorTypes |
| * @generated |
| */ |
| EEnum getETensorTypes(); |
| |
| /** |
| * Returns the factory that creates the instances of the model. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the factory that creates the instances of the model. |
| * @generated |
| */ |
| TensorFactory getTensorFactory(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * Defines literals for the meta objects that represent |
| * <ul> |
| * <li>each class,</li> |
| * <li>each feature of each class,</li> |
| * <li>each operation of each class,</li> |
| * <li>each enum,</li> |
| * <li>and each data type</li> |
| * </ul> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| interface Literals { |
| /** |
| * The meta object literal for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorImpl <em>Tensor</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorImpl |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorPackageImpl#getTensor() |
| * @generated |
| */ |
| EClass TENSOR = eINSTANCE.getTensor(); |
| |
| /** |
| * The meta object literal for the '<em><b>Data</b></em>' attribute list feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute TENSOR__DATA = eINSTANCE.getTensor_Data(); |
| |
| /** |
| * The meta object literal for the '<em><b>Dtype</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute TENSOR__DTYPE = eINSTANCE.getTensor_Dtype(); |
| |
| /** |
| * The meta object literal for the '<em><b>Device</b></em>' reference feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EReference TENSOR__DEVICE = eINSTANCE.getTensor_Device(); |
| |
| /** |
| * The meta object literal for the '<em><b>Requires grad</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute TENSOR__REQUIRES_GRAD = eINSTANCE.getTensor_Requires_grad(); |
| |
| /** |
| * The meta object literal for the '<em><b>Pin memory</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute TENSOR__PIN_MEMORY = eINSTANCE.getTensor_Pin_memory(); |
| |
| /** |
| * The meta object literal for the '<em><b>Shape</b></em>' attribute list feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute TENSOR__SHAPE = eINSTANCE.getTensor_Shape(); |
| |
| /** |
| * The meta object literal for the '<em><b>Name</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute TENSOR__NAME = eINSTANCE.getTensor_Name(); |
| |
| /** |
| * The meta object literal for the '<em><b>Base Class</b></em>' reference feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EReference TENSOR__BASE_CLASS = eINSTANCE.getTensor_Base_Class(); |
| |
| /** |
| * The meta object literal for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.EDType <em>ED Type</em>}' enum. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.EDType |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorPackageImpl#getEDType() |
| * @generated |
| */ |
| EEnum ED_TYPE = eINSTANCE.getEDType(); |
| |
| /** |
| * The meta object literal for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Tensor.ETensorTypes <em>ETensor Types</em>}' enum. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.ETensorTypes |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Tensor.impl.TensorPackageImpl#getETensorTypes() |
| * @generated |
| */ |
| EEnum ETENSOR_TYPES = eINSTANCE.getETensorTypes(); |
| |
| } |
| |
| } //TensorPackage |