Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for more (0.05 sec)

  1. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    // Permutation from the OIHW (== (output features, input features, height,
    // width)) tensor format to HWIO. This is commonly used to transpose convolution
    // weights represented as OIHW format to HWIO, which is more desirable for
    // certain downstream optimization passes (e.g. XLA).
    inline constexpr std::array<int64_t, 4> kOihwToHwioPermutation = {2, 3, 1, 0};
    
    // Returns true if the value has static shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

          // TODO(b/172517537): check if other tensors should go through this
          // check too.
          op.emitError() << "Input tensor [" << input_index
                         << "] is a state tensor, but has more than one use.";
          return failure();
        }
        auto stats = mlir::dyn_cast<DenseFPElementsAttr>(stats_op.getLayerStats());
        if (!stats || stats.getNumElements() != 2) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. tensorflow/c/eager/tape.h

    #include <unordered_set>
    #include <vector>
    
    #include "tensorflow/core/config/flag_defs.h"
    #include "tensorflow/core/config/flags.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/lib/gtl/array_slice.h"
    #include "tensorflow/core/lib/gtl/cleanup.h"
    #include "tensorflow/core/lib/gtl/flatmap.h"
    #include "tensorflow/core/lib/gtl/flatset.h"
    #include "tensorflow/core/platform/errors.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 12:40:29 UTC 2024
    - 47.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

        if (!expand_op.getResult().hasOneUse()) {
          return rewriter.notifyMatchFailure(
              expand_op, "result for current op has more than 1 use");
        }
        if (!squeeze_op.getResult().hasOneUse()) {
          return rewriter.notifyMatchFailure(
              squeeze_op, "result for current op has more than 1 use");
        }
        // Make sure that the axis in `expand_op` is constant.
        if (auto const_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/flags.h

    #include <optional>
    #include <string>
    #include <vector>
    
    #include "absl/container/flat_hash_set.h"
    #include "absl/types/optional.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/protobuf/config.pb.h"
    #include "tensorflow/core/util/command_line_flags.h"
    
    namespace tensorflow {
    
    struct XlaAutoJitFlag {
      // Control compilation of operators into XLA computations on CPU and GPU
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/ops.h

    #include "absl/strings/str_cat.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor.pb.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/lib/hash/hash.h"
    #include "tensorflow/core/lib/strings/strcat.h"
    
    namespace tensorflow {
    
    /// @defgroup core Core Tensorflow API
    
    class Output;
    
    /// @addtogroup core
    /// @{
    
    /// Represents a node in the computation graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

        if (llvm::isa<FixedOutputRangeInterface, SameScalesOpInterface>(def) ||
            !def->hasTrait<OpTrait::quant::QuantizableResult>()) {
          return failure();
        }
    
        // This op should not clobber def, if more than one requant of this value.
        if (!pre_quantized.hasOneUse()) {
          return failure();
        }
    
        op.emitWarning("Remove trivial `rescale` op. Please fix the source graph.");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.h

        llvm::APSInt result(storage_bit_width_, !is_signed_);
        fixed_point.convertToInteger(result, round_mode_, &lossy);
    
        return std::move(result);
      }
    
      int64_t quantizeFloatToInt64(APFloat expressed_value) const {
        const APInt q_value = quantizeFloatToInt(std::move(expressed_value));
        return is_signed_ ? q_value.getSExtValue() : q_value.getZExtValue();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. tensorflow/cc/saved_model/BUILD

            ":util",
            "//tensorflow/core:lib",
            "//tensorflow/core:protos_all_cc",
            "//tensorflow/core/platform:errors",
            "//tensorflow/core/platform:strcat",
            "//tensorflow/core/platform:tstring",
            "//tensorflow/core/util/tensor_bundle",
            "//tensorflow/core/util/tensor_bundle:byteswaptensor",
            "@com_google_absl//absl/container:flat_hash_set",
            "@com_google_absl//absl/log",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 05:43:44 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/scope.h

    #include "absl/strings/str_cat.h"
    #include "tensorflow/cc/framework/ops.h"
    #include "tensorflow/core/common_runtime/graph_constructor.h"
    #include "tensorflow/core/lib/core/status.h"
    #include "tensorflow/core/lib/gtl/array_slice.h"
    
    namespace tensorflow {
    
    class Graph;
    class GraphDef;
    class NodeBuilder;
    struct CompositeOpScopes;
    
    /// @addtogroup core
    /// @{
    
    /// A `Scope` object represents a set of related TensorFlow ops that have the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top