Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AppendToVector (0.49 sec)

  1. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.td

    // Add the second argument to the first argument, which is expected to be an
    // argument list.
    // bias(einsum(inputs), bias) --> einsum_with_bias(AppendToVector(inputs, bias))
    // Since inputs is a vector in case of einsum, we cannot use ArgumentList here.
    def AppendToVector : NativeCodeCall<"AppendToVector($0, $1)">;
    
    // The list of arguments of the composite function.
    def ArgumentList : NativeCodeCall<"llvm::SmallVector<Value>{$0...}">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 00:32:20 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.td

    def LiftEinsumWithBias : Pat<
      (TF_BiasAddOp:$res
        (TF_EinsumOp $input, $equation),
        $bias, IsDataFormatNHWC:$bias_data_format),
      (LiftAsTFPartitionedCall<"composite_einsum_with_bias_fn">
        (AppendToVector (ArgumentList $input), $bias),
        (ResultList $res),
        (NamedAttributeList
          (NamedAttr<"equation"> $equation))),
      [(IsNotInLiftedFunc $res),
       (IsEinsumSupportedByXlaDotV2 $equation)],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.h

    // Add the second argument to the first argument, which is expected to be an
    // argument list.
    // Used to attach bias to einsum argument list.
    SmallVector<Value> AppendToVector(ArrayRef<Value> arguments, Value append);
    
    // Checks if the `Method` attatched to the given `tf.XlaCallModule` op has
    // `WeightOnlyPtq`.
    bool HasWeightOnlyPtqMethod(TF::XlaCallModuleOp xla_call_module_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      SmallVector<NamedAttribute> attributes;
      return LiftAsFunctionCall(builder, location, call_op_type, func_name,
                                arguments, results, attributes);
    }
    
    SmallVector<Value> AppendToVector(const ArrayRef<Value> arguments,
                                      Value append) {
      SmallVector<Value> ret(arguments);
      ret.push_back(append);
      return ret;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top