Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsFullyDefined (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

        // Skip adding shape op for operands that have static shapes.
        tensorflow::PartialTensorShape shape(
            metadata.args(operand_and_idx.index()).shape());
        if (shape.IsFullyDefined()) continue;
    
        auto shape_op = builder->create<TF::ShapeOp>(
            cluster_func.getLoc(),
            tensorflow::GetTypeFromTFTensorShape({-1}, builder->getIntegerType(64)),
            operand_and_idx.value());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top