Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for HLO (0.07 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // This file implements logic for legalizing HLO to TensorFlow.
    
    #include <cassert>
    #include <cstddef>
    #include <cstdint>
    #include <cstdlib>
    #include <functional>
    #include <memory>
    #include <numeric>
    #include <optional>
    #include <string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      Type new_arg_type = tensorflow::GetTypeFromTFTensorShape(shape, element_type);
    
      if (auto input_ty = mlir::dyn_cast<RankedTensorType>(old_arg_type)) {
        ArrayRef<int64_t> bounds = hlo::encodingToBounds(input_ty.getEncoding());
        // The input type has bounded dynamic dimension.
        if (!bounds.empty()) {
          SmallVector<int64_t> new_bounds(bounds.begin(), bounds.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let description = [{
        This pass looks for the usage of the result of TPUCopyWithDynamicShapeOp
        and sets the shape of these inputs to be dynamic shaped. This will ensure
        that the generated HLO program is correctly reflecting the dynamic shape.
      }];
    
      // Required for mhlo bounded shape extension.
      let dependentDialects = ["mhlo::MhloDialect"];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top