Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CastOp (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        auto block_shape_i64 =
            rewriter.create<CastOp>(loc, block_shape_i64_type, op.getBlockShape());
    
        auto paddings_i64_type = tensorflow::GetTypeFromTFTensorShape(
            paddings_type.getShape(), rewriter.getIntegerType(64));
        auto paddings_i64 =
            rewriter.create<CastOp>(loc, paddings_i64_type, op.getPaddings());
    
        auto pad00 = rewriter.create<ConstOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

          // CastOp if the shape of types doesn't exactly match.
          Type read_type = read_variable_op.getValue().getType();
          if (read_type != last_store.getValue().getType()) {
            OpBuilder builder(last_store);
            builder.setInsertionPointAfter(last_store);
            auto cast = builder.create<TF::CastOp>(
                last_store.getLoc(), read_type, last_store.getValue(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

      auto x_type = mlir::dyn_cast_or_null<ShapedType>(x.getType());
      if (!x_type) llvm_unreachable("unsupported type");
      Type type = x_type.clone(builder->getI32Type());
      return builder->create<TF::CastOp>(loc, type, x, truncate);
    }
    }  // namespace
    
    //===----------------------------------------------------------------------===//
    // The actual PrepareTF Pass.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  4. hack/tools/go.sum

    github.com/go-toolsmith/astfmt v1.1.0 h1:iJVPDPp6/7AaeLJEruMsBUlOYCmvg0MoCfJprsOmcco=
    github.com/go-toolsmith/astfmt v1.1.0/go.mod h1:OrcLlRwu0CuiIBp/8b5PYF9ktGVZUjlNMV634mhwuQ4=
    github.com/go-toolsmith/astp v1.1.0 h1:dXPuCl6u2llURjdPLLDxJeZInAeZ0/eZwFJmqZMnpQA=
    github.com/go-toolsmith/astp v1.1.0/go.mod h1:0T1xFGz9hicKs8Z5MfAqSUitoUYS30pDMsRVIDHs8CA=
    github.com/go-toolsmith/pkgload v1.2.2 h1:0CtmHq/02QhxcF7E9N5LIFcYFsMR5rdovfqTtRKkgIk=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 93.1K bytes
    - Viewed (0)
Back to top