File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 206206 amin_grad : GetReduceGradExpectedKernelType
207207 manual_signature : [amin]
208208
209- - op : aminmax
210- backward : aminmax_grad
211- inputs :
212- x : X
213- outputs :
214- {min : Min, max : Max}
215- manual_signature : [aminmax]
216-
217209- op : anchor_generator
218210 inputs :
219211 input : Input
Original file line number Diff line number Diff line change @@ -51,12 +51,12 @@ def setUp(self):
5151 self .init_args ()
5252 np .random .seed (2025 )
5353 self .input_data = np .random .random (self .shape ).astype (self .dtype )
54- self .inputs = {'X ' : self .input_data }
54+ self .inputs = {'x ' : self .input_data }
5555 self .attrs = {'axis' : self .axis , 'keepdim' : self .keepdim }
5656 min_val , max_val = ref_aminmax (
5757 self .input_data , axis = self .axis_for_np , keepdim = self .keepdim
5858 )
59- self .outputs = {'Min ' : min_val , 'Max ' : max_val }
59+ self .outputs = {'min ' : min_val , 'max ' : max_val }
6060
6161 def init_dtype (self ):
6262 self .dtype = np .float64
@@ -74,8 +74,8 @@ def test_check_output(self):
7474
7575 def test_check_grad (self ):
7676 self .check_grad (
77- ['X ' ],
78- ['Min ' , 'Max ' ],
77+ ['x ' ],
78+ ['min ' , 'max ' ],
7979 check_pir = True ,
8080 )
8181
You can’t perform that action at this time.
0 commit comments