product_matching/euclidean_intersection.py [130:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            all_dists.append(d_total)
        return Add()(all_dists)

    def build(self):
        """
        Build model structure.

        Intersection use Joint learning arthitecture.
        """
        print("Query")
        query_input = Input(
            name='text_left',
            shape=self._params['input_shapes'][0],
        )
        asin_input = Input(
            name='text_right',
            shape=self._params['input_shapes'][1]
        )
        print(query_input)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



product_matching/hyperboloid.py [179:198]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            all_dists.append(d_total)
        return Add()(all_dists)

    def build(self):
        """
        Build model structure.

        Hyperboloid use Joint learning arthitecture.
        """
        print("Query")
        query_input = Input(
            name='text_left',
            shape=self._params['input_shapes'][0],
        )
        asin_input = Input(
            name='text_right',
            shape=self._params['input_shapes'][1]
        )
        #query_input = Input(shape=(self.hyper_params["MAX_LEN"],), dtype='float32')
        print(query_input)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



