You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: LearnableVariables.m
    path of file: ./repos/Swan/VariAuto/Codes
    
    the code of the file until where you have to start completion: classdef LearnableVariables < handle
    
    properties (Access = public)
        thetavec
    end

    properties (Access = private)
        neuronsPerLayer
        nLayers
    end
    
    methods (Access = public)

        function obj = LearnableVariables(s)
            obj.init(s);
            obj.computeIni
    
function init(obj,s)
           obj.neuronsPerLayer = s.neuronsPerLayer;
           obj.nLayers         = s.nLayers;
        end         

        function computeInitialTheta(obj)
           nPL    = obj.neuronsPerLayer;
           th     = [];
           for i = 2:obj.nLayers
                if i ~= obj.nLayers
                    getB = zeros([1,nPL(i)]) + 0.1;
                else
                    getB = zeros([1,nPL(i)]) + 1/nPL(i);
                end