/** * @license * Copyright 2021 Google LLC. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============================================================================= */ /// import { Tensor } from '../tensor'; import { Rank, TensorLike } from '../types'; /** * Return the shape of s0 op s1 with broadcast. * * compute r0, the broadcasted shape as a tensor. * s0, s1 and r0 are all integer vectors. * * This function returns the shape of the result of an operation between * two tensors of size s0 and s1 performed with broadcast. * * @param s0 A tensor representing a shape * @param s1 A tensor representing a shape * * @doc {heading: 'Tensors', subheading: 'Transformations'} */ declare function broadcastArgs_(s0: Tensor | TensorLike, s1: Tensor | TensorLike): Tensor; export declare const broadcastArgs: typeof broadcastArgs_; export {};