Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for quant_type (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

            /*num_bits=*/8, is_signed_,
            /*narrow_range=*/is_weight, legacy_float_scale_);
      }
      if (const auto quant_type = mlir::dyn_cast_or_null<QuantizedType>(final_type);
          quant_type != nullptr) {
        return SetResultParams(op, /*result_index=*/0, quant_type);
      }
      return false;
    }
    
    bool QuantizationDriver::SetResultParams(Operation* op, const int result_index,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    // BitcastOp
    //===----------------------------------------------------------------------===//
    
    int64_t GetTypeBitWidth(mlir::Type type) {
      if (auto quant_type = type.dyn_cast<mlir::quant::QuantizedType>()) {
        return quant_type.getStorageTypeIntegralWidth();
      }
      if (type.isIntOrFloat()) {
        return std::max(type.getIntOrFloatBitWidth(),
                        static_cast<unsigned>(CHAR_BIT));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  3. tests/test_security_oauth2_optional.py

                        "loc": ["body", "grant_type"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "grant_type"],
                        "msg": "field required",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils_test.cc

    #include <memory>
    #include <string>
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Quant/QuantOps.h"  // from @llvm-project
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    #include "mlir/Dialect/SparseTensor/IR/SparseTensor.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. tests/test_security_oauth2.py

                        "loc": ["body", "grant_type"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "grant_type"],
                        "msg": "field required",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. tests/test_security_oauth2_optional_description.py

                        "loc": ["body", "grant_type"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "grant_type"],
                        "msg": "field required",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.cc

    #include "tensorflow/core/framework/types.pb.h"
    
    namespace mlir::quant::tensorflow {
    
    bool IsTFQintType(const Type type) {
      return mlir::isa<TF::Qint8Type, TF::Qint16Type, TF::Qint32Type,
                       TF::Quint8Type, TF::Quint16Type>(type);
    }
    
    Type GetIntTypeFromTFQint(const Type type) {
      return TypeSwitch<Type, Type>(type)
          .Case<TF::Qint8Type>(
              [&type](Type) { return IntegerType::get(type.getContext(), 8); })
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. fastapi/security/oauth2.py

                    sending the `client_id` and `client_secret` (if any) using HTTP Basic
                    auth.
                    """
                ),
            ] = None,
        ):
            self.grant_type = grant_type
            self.username = username
            self.password = password
            self.scopes = scope.split()
            self.client_id = client_id
            self.client_secret = client_secret
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/passes/tfr_opt.cc

    #include "mlir/Dialect/Func/Extensions/AllExtensions.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/Quant/QuantOps.h"  // from @llvm-project
    #include "mlir/Dialect/Quant/QuantTypes.h"  // from @llvm-project
    #include "mlir/Dialect/SCF/IR/SCF.h"  // from @llvm-project
    #include "mlir/Dialect/Shape/IR/Shape.h"  // from @llvm-project
    #include "mlir/InitAllDialects.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 16:15:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. docs/sts/web-identity.py

    
    @app.route('/oauth2/callback')
    def callback():
        error = request.args.get('error', '')
        if error:
            return "Error: " + error
    
        authorization_code = request.args.get('code')
    
        data = {'grant_type': 'authorization_code',
                'code': authorization_code, 'redirect_uri': callback_uri}
        id_token_response = requests.post(
            token_url, data=data, verify=False,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
Back to top