 
     /// get tensorflow type from the Swift one, will be nil if not available
     public var matched: DataType? {
-      get {
-        switch "\(T.self)" {
-        case "Float":  return  DataType.dtFloat
-        case "Double":  return  DataType.dtDouble
-        case "Int32":  return  DataType.dtInt32
-        case "UInt8":  return  DataType.dtUint8
-        case "Int16":  return  DataType.dtInt16
-        case "Int8":  return  DataType.dtInt8
-        case "Int64", "Int":  return  DataType.dtInt64
-        case "Bool":  return  DataType.dtBool
-        case "UInt16":  return  DataType.dtUint16
-        case "String", "Data": return DataType.dtString
-        default:
-          return nil
-        }//end switch
-      }//end case
+      switch "\(T.self)" {
+      case "Float":  return  DataType.dtFloat
+      case "Double":  return  DataType.dtDouble
+      case "Int32":  return  DataType.dtInt32
+      case "UInt8":  return  DataType.dtUint8
+      case "Int16":  return  DataType.dtInt16
+      case "Int8":  return  DataType.dtInt8
+      case "Int64", "Int":  return  DataType.dtInt64
+      case "Bool":  return  DataType.dtBool
+      case "UInt16":  return  DataType.dtUint16
+      case "String", "Data": return DataType.dtString
+      default:
+        return nil
+      }//end switch
     }//end var
 
     /// size of the type
     public var size: Int? {
-      get {
-        guard let tp = matched else { return nil }
-        do {
-          return try TensorFlow.SizeOf(Type: tp)
-        }catch {
-          return nil
-        }
-      }//end get
+      guard let tp = matched else { return nil }
+      do {
+        return try TensorFlow.SizeOf(Type: tp)
+      }catch {
+        return nil
+      }
     }//end var
 
     public var description: String {
-      get {
-        return "<\(T.self): \(size ?? 0)>"
-      }//end get
+      return "<\(T.self): \(size ?? 0)>"
     }//end var
   }//end class DType
 


    /// return all operations in this library as a protocol buffer
    public var operations: Buffer {
      get {
        var buf = TFLib.GetOpList(handle)
        return Buffer(buf: &buf)
      } //end get
    }//end operations
  }//end class

  /// TF_Version returns a string describing version information of the
  /// TensorFlow library. TensorFlow using semantic versioning.
  public static var Version: String {
    get {
      if let _ = TFLib.libDLL, let ver = TFLib.Version() {
        return String(cString: ver)
      }else {
        return ""
      }//end if
    }//end get
  }//end var




    /// get total size of memory in bytes
    public var bytesCount: Int {
      return Int(TFLib.TensorByteSize(tensor))
    }

    /// dimensions
    public var dim: [Int64] {
      do {
        let sz = dimensionCount
        var array = [Int64]()
        if sz > 0 {
          for i in 0 ... sz - 1 {
            array.append(try dimension(i))
          }//next i
        }//end if
        return array
      }catch {
        return [Int64]()
      }
    }

