Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 358 for cc_ops (0.19 sec)

  1. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.h

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace cc_op {
    
    // String with single fuzzer file content.
    string WriteSingleFuzzer(const OpInfo& op_info, bool is_fuzzable);
    
    // Do we have all we need to create a fuzzer
    bool OpFuzzingIsOk(const OpInfo& op_info);
    
    }  // namespace cc_op
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen_main.cc

    #include "tensorflow/core/platform/statusor.h"
    #include "tensorflow/core/platform/str_util.h"
    #include "tensorflow/core/platform/types.h"
    #include "tsl/platform/status.h"
    
    namespace tensorflow {
    namespace cc_op {
    namespace {
    
    void WriteAllFuzzers(string root_location, std::vector<string> api_def_dirs,
                         std::vector<string> op_names) {
      OpList ops;
      absl::StatusOr<ApiDefMap> api_def_map =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 10:53:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen.h

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace cc_op {
    /// Result is written to files dot_h and dot_cc.
    void WriteCCOps(const OpList& ops, const ApiDefMap& api_def_map,
                    const string& dot_h_fname, const string& dot_cc_fname);
    
    }  // namespace cc_op
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:31:16 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

            return true;
          }
    
          // Check if the preceding op is a quantized same-scale op.
          if (llvm::isa<quantfork::StorageCastOp>(preceding_op)) {
            auto sc_op = llvm::cast<quantfork::StorageCastOp>(preceding_op);
            auto sc_arg_type = sc_op.getArg().getType().dyn_cast<TensorType>();
            if (sc_arg_type.getElementType().isInteger(8)) {
              return true;
            }
          }
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

        TFL::FullyConnectedOp fc_op, PatternRewriter& rewriter) const {
      // We have to know the shape of the input.
      auto input = fc_op.getInput();
      auto input_type = mlir::dyn_cast_or_null<RankedTensorType>(input.getType());
      if (!input_type || !input_type.hasStaticShape()) return failure();
    
      // We have to know the shape of the weight.
      auto weight = fc_op.getFilter();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

      "ArrayRef<APInt>{$0.getValue(), $0.getValue()})">;
    
    def BatchToSpaceToBatchToSpaceND : Pat<
      (TF_BatchToSpaceOp:$src $input, $crops, $block_size),
      (TF_BatchToSpaceNDOp:$dest $input,
        (TF_ConstOp (BatchToSpaceBlockSizeToBlockShape $block_size)), $crops),
      [(IsRank4Tensor $input), (IsRank2Tensor $crops)], [(CopyAttrs $src, $dest)]>;
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/mlrt/BUILD

    gentbl_cc_library(
        name = "tf_ops_inc_gen",
        tbl_outs = [
            (
                ["-gen-op-decls"],
                "tf_ops.h.inc",
            ),
            (
                ["-gen-op-defs"],
                "tf_ops.cpp.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "tf_ops.td",
        deps = [":tf_mlrt_td_files"],
    )
    
    cc_library(
        name = "tf_mlrt_ops",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 17:04:28 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/BUILD

            "//tensorflow/cc:cc_ops",
            "//tensorflow/cc:cc_ops_internal",
            "//tensorflow/cc:function_ops",
            "//tensorflow/cc:functional_ops",
            "//tensorflow/cc:ops",
            "//tensorflow/cc:resource_variable_ops",
            "//tensorflow/cc:sendrecv_ops",
            "//tensorflow/compiler/jit/kernels:xla_ops",
            "//tensorflow/compiler/tf2xla:xla_compiler",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 61.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          ('none', None, False, False, quant_opts_pb2.TF, False, 'SAME'),
          ('relu', nn_ops.relu, False, False, quant_opts_pb2.TF, False, 'SAME'),
          ('relu6', nn_ops.relu6, False, False, quant_opts_pb2.TF, False, 'SAME'),
          ('with_bias', None, True, False, quant_opts_pb2.TF, False, 'SAME'),
          (
              'with_bias_and_relu',
              nn_ops.relu,
              True,
              False,
              quant_opts_pb2.TF,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/cc_op_gen_util.h

    #include "tensorflow/core/framework/tensor.pb.h"
    #include "tensorflow/core/framework/tensor_shape.pb.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace cc_op {
    
    absl::StatusOr<ApiDefMap> LoadOpsAndApiDefs(
        OpList& ops, bool include_internal,
        const std::vector<string>& api_def_dirs);
    
    // Converts:
    //   bazel-out/.../(bin|genfiles)/(external/YYY/)?XX
    // to: XX.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top