Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for num_inputs (0.2 sec)

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

        FunctionType func_type = func.getFunctionType();
        int num_inputs = func_type.getNumInputs();
        int num_results = func_type.getNumResults();
    
        // For each argument type in function's arguments, change it to uranked
        // tensor type if it's a variant type.
        SmallVector<Type, 8> updated_argument_types;
        updated_argument_types.reserve(num_inputs);
        UpdateTensorListTypes<mlir::OperandRange>(
    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/lite/transforms/optimize_patterns.td

    def OptimizeToSoftmax : Pat<
      (TFL_DivOp (TFL_ExpOp:$exp $input),
                 (TFL_SumOp:$sum $sum_input, (Arith_ConstantOp I32ElementsAttr: $axes),
                                 ConstBoolAttrTrue), TFL_AF_None),
      (TFL_SoftmaxOp $input, ConstF32Attr<"1.0">),
      [(IsSame $exp, $sum_input),
       (AxesIsLastDimension $axes, $sum_input),
       (HasTwoUse $exp),
       (HasOneUse $sum)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top