File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
paddle/fluid/operators/tensorrt Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ arange = "arange"
17
17
ot = ' ot'
18
18
pash = ' pash'
19
19
eles = ' eles'
20
+ builer = ' builer'
20
21
21
22
# These words need to be fixed
22
23
ontext = ' ontext'
@@ -39,7 +40,6 @@ Unsupport = 'Unsupport'
39
40
inferrence = ' inferrence'
40
41
PROTOCAL = ' PROTOCAL'
41
42
represention = ' represention'
42
- brach = ' brach'
43
43
registe = ' registe'
44
44
consequtive = ' consequtive'
45
45
homogenous = ' homogenous'
@@ -284,7 +284,6 @@ transfering = 'transfering'
284
284
enfore = ' enfore'
285
285
elments = ' elments'
286
286
convience = ' convience'
287
- builer = ' builer'
288
287
Splited = ' Splited'
289
288
indiates = ' indiates'
290
289
availiable = ' availiable'
@@ -379,7 +378,6 @@ epslion = 'epslion'
379
378
somme = ' somme'
380
379
cacl = ' cacl'
381
380
worke = ' worke'
382
- buffert = ' buffert'
383
381
reduntant = ' reduntant'
384
382
UNEXPECT = ' UNEXPECT'
385
383
shedule = ' shedule'
Original file line number Diff line number Diff line change @@ -1053,7 +1053,7 @@ class TensorRTEngineOp : public framework::OperatorBase {
1053
1053
model_opt_cache_dir_, engine_key_);
1054
1054
trt_engine_->Deserialize (trt_engine_serialized_data);
1055
1055
} else {
1056
- // This brach mainly used to ut.
1056
+ // This branch mainly used to ut.
1057
1057
PrepareTRTEngine (scope, trt_engine_);
1058
1058
}
1059
1059
}
Original file line number Diff line number Diff line change @@ -722,7 +722,7 @@ def test_share_buffer_to(self):
722
722
np .testing .assert_array_equal (tensor3 .numpy (), arr2 )
723
723
self .assertTrue (tensor3 ._is_shared_buffer_with (tensor ))
724
724
725
- def test_0_size_tensor_share_buffert_to (self ):
725
+ def test_0_size_tensor_share_buffer_to (self ):
726
726
x = paddle .rand ([0 , 4 ])
727
727
y = paddle .rand ([0 , 4 ])
728
728
x ._share_buffer_to (y )
You can’t perform that action at this time.
0 commit comments