Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AttributeError (0.2 sec)

  1. docs/sts/client_grants/sts_element.py

    # -*- coding: utf-8 -*-
    from xml.etree import cElementTree
    from xml.etree.cElementTree import ParseError
    
    if hasattr(cElementTree, 'ParseError'):
        _ETREE_EXCEPTIONS = (ParseError, AttributeError, ValueError, TypeError)
    else:
        _ETREE_EXCEPTIONS = (SyntaxError, AttributeError, ValueError, TypeError)
    
    _STS_NS = {'sts': 'https://sts.amazonaws.com/doc/2011-06-15/'}
    
    
    class STSElement(object):
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/api_template.__init__.py

    # See b/196254385 for more details.
    try:
      if _tf_uses_legacy_keras:
        importlib.import_module("tf_keras.src.optimizers")
      else:
        importlib.import_module("keras.src.optimizers")
    except (ImportError, AttributeError):
      pass
    
    del importlib
    
    # Delete modules that should be hidden from dir().
    # Don't fail if these modules are not available.
    # For e.g. this file will be originally placed under tensorflow/_api/v1 which
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 06:27:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. fastapi/dependencies/utils.py

                        value = received_body.getlist(field.alias)
                    else:
                        try:
                            value = received_body.get(field.alias)
                        except AttributeError:
                            errors.append(get_missing_field_error(loc))
                            continue
                if (
                    value is None
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:52:56 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        name = self._ssa_name('cst')
        cst_ty = _get_type_from_proto(None, attr_def)
        try:
          cst_val = _get_val_from_proto(cst_ty, attr_def.default_value)
        except AttributeError:
          raise AttributeError(
              f'attribute "{attr_def.name}" does not have default_value. If the '
              "attribute names from the API and OpDef don't match, please add it "
              'to _ATTRIBUTE_RENAMES.')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        def get_mean_square_error(x, y):
          ret = tensorflow.reduce_mean(tensorflow.square(tensorflow.subtract(x, y)))
          try:
            ret = ret.numpy()
          except AttributeError:
            ret = ret.eval()
          return ret
    
        min_max_mse = get_mean_square_error(original_output, min_max_output)
        average_min_max_mse = get_mean_square_error(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  6. RELEASE.md

    *   `tf.keras.mixed_precision`
        *   When using mixed precision, calling `RMSprop.apply_gradients` or
            `Nadam.apply_gradients` outside a `tf.function` does not work and will
            raise the AttributeError "Tensor.op is meaningless when eager execution
            is enabled". See this
            [issue](https://github.com/tensorflow/tensorflow/issues/45536) for
            details and a workaround.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top