class_docstr: This code was developed by jbpatel@mit.edu.
      
class_docstr_tok: ["This","code","was","developed","by","jbpatel","@","mit.edu","."]
code: def init_f(self, shape, dtype=None):
      # Make 3D laplacian second derivative filter to find edges in binarized image
      ker = np.zeros(shape, dtype=dtype)
      ker[0, 1, 1] = 1
      ker[1, 1, 1] = -6
      ker[2, 1, 1] = 1
      ker[1, 0, 1] = 1
      ker[1, 2, 1] = 1
      ker[1, 1, 0] = 1
      ker[1, 1, 2] = 1
  
      return ker
  
imports: import numpy
  import itertools
label_desc: Use image node_id 12 for calling the WeightedCategoricalCrossEntropy obj's underlying member method code with example usage: obj.init_f(shape, dtype) and returns: ker