File tree Expand file tree Collapse file tree 2 files changed +16
-18
lines changed Expand file tree Collapse file tree 2 files changed +16
-18
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * @license
3+ * Copyright 2020 Google Inc. All Rights Reserved.
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ * =============================================================================
16+ */
117import { Tensor3D } from '../tensor' ;
218import { TensorLike } from '../types' ;
319import { assert } from '../util' ;
Original file line number Diff line number Diff line change @@ -286,21 +286,3 @@ function skewness(values: TypedArray|number[]) {
286286 }
287287 return ( 1 / n ) * sum3 / Math . pow ( ( 1 / ( n - 1 ) ) * sum2 , 3 / 2 ) ;
288288}
289-
290- export interface RandomBase {
291- nextValue ( ) : number ;
292- }
293-
294- export interface RandomGamma {
295- nextValue ( ) : number ;
296- }
297-
298- export interface RandNormalDataTypes {
299- float32 : Float32Array ;
300- int32 : Int32Array ;
301- }
302-
303- export interface RandGammaDataTypes {
304- float32 : Float32Array ;
305- int32 : Int32Array ;
306- }
You can’t perform that action at this time.
0 commit comments