Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetZ (0.03 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        auto new_filter =
            rewriter.create<TF::MulOp>(mul_op.getLoc(), filter, new_const_val)
                .getZ();
        // If bias isn't None, it needs to be multiplied as well.
        if (!mlir::isa<NoneType>(bias.getType())) {
          bias = rewriter.create<TF::MulOp>(mul_op.getLoc(), bias, constant_val)
                     .getZ();
        }
    
        auto fc = rewriter.create<TFL::FullyConnectedOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

          /*weight_zp=*/0,
          /*input_output_dims=*/ArrayRef<int64_t>({0}),
          /*weight_output_dims=*/ArrayRef<int64_t>({num_dims - 1}));
      return builder.create<TF::SubOp>(loc, xla_conv_output, zp_offset).getZ();
    }
    
    // Creates a XlaConvV2Op from TF Conv2DOp and returns its output. The returned
    // value will be used as an input of the next op.
    Value CreateXlaConvOpFromTfConv2dOp(OpBuilder &builder, Location loc,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        if (!l || !r) return failure();
    
        auto element_type = getElementTypeOrSelf(l.getType());
        if (!element_type.isBF16()) return failure();
    
        auto out_type = op.getZ().getType();
    
        l = rewriter.create<ConvertOp>(op.getLoc(), l, rewriter.getF32Type());
        r = rewriter.create<ConvertOp>(op.getLoc(), r, rewriter.getF32Type());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top