Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for applySignatureConversion (0.25 sec)

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

      for (const BlockArgument &arg : entry.getArguments()) {
        signature_conversion.addInputs(arg.getArgNumber(),
                                       updated_argument_types[arg.getArgNumber()]);
      }
      rewriter.applySignatureConversion(&entry.front(), signature_conversion);
    }
    
    // Changes the function type of `cond_func` and `body_func` for the given While
    // op.
    LogicalResult UpdateFunctionTypesForWhileOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

              TensorType updated_ty =
                  UpdateElementTypeTo(original_ty, element_types[block_idx]);
              signature.addInputs(block_idx, {updated_ty});
            }
            rewriter.applySignatureConversion(&region.front(), signature);
          }
        }
    
        // Replace all uses of `op` results with the newly created op.
        rewriter.replaceOp(op, mhlo_op);
        return success();
      }
    };
    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