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: BilinearClPooling.m
    path of file: ./repos/DBCNN/dbcnn/BCNN/bcnn-package
    
    the code of the file until where you have to start completion: 
% BilinearClPooling is the dagnn wapper of vl_nnbilinearclpool which 
% computes outer product of outputs of two layers and pool the features 
% across all locations

% Copyright (C) 2015 Tsung-Yu Lin, 
    
function [derInputs, derParams] = backward(obj, inputs, params, derOutputs)
      [derInputs{1}, derInputs{2}] = vl_nnbilinearclpool(inputs{1}, inputs{2}, derOutputs{1});
      if obj.normalizeGradients
        gradNorm = sum(abs(derInputs{1}(:))) + 1e-8;
        derInputs{1} = derInputs{1}/gradNorm;
        
        gradNorm = sum(abs(derInputs{2}(:))) + 1e-8;
        derInputs{2} = derInputs{2}/gradNorm;
      end