Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for op_names (0.17 sec)

  1. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen_main.cc

                         std::vector<string> op_names) {
      OpList ops;
      absl::StatusOr<ApiDefMap> api_def_map =
          LoadOpsAndApiDefs(ops, false, api_def_dirs);
    
      TF_CHECK_OK(api_def_map.status());
    
      Env* env = Env::Default();
      absl::Status status;
      std::unique_ptr<WritableFile> fuzz_file = nullptr;
      for (const OpDef& op_def : ops.op()) {
        if (std::find(op_names.begin(), op_names.end(), op_def.name()) ==
            op_names.end())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 10:53:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/fuzzing/op_fuzzing.bzl

                   " $$(dirname $(location " + out_fuzz_files[0] + "))" +
                   " " + api_def_src_locations + " " + (",".join(op_names))),
        )
    
        for op_name in op_names:
            cc_test(
                name = op_name.lower() + "_fuzz",
                srcs = [op_name + "_fuzz.cc"],
                deps = kernel_deps +
                       [
                           "//tensorflow/security/fuzzing/cc:fuzz_session",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 07 19:14:57 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/common/path_config.cc

    namespace generator {
    
    PathConfig::PathConfig(const string& output_dir, const string& source_dir,
                           const string& api_dir_list,
                           const std::vector<string> op_names)
        : output_path(output_dir), op_names(op_names) {
      api_dirs = str_util::Split(api_dir_list, ",", str_util::SkipEmpty());
    
      // Decompose the directory components given the output/source directories.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/gen/common/path_config.h

    struct PathConfig {
      string output_path;
      std::vector<string> op_names;
      std::vector<string> api_dirs;
      string tf_prefix_dir;
      string tf_root_dir;
      string tf_output_dir;
    
      explicit PathConfig() = default;
      explicit PathConfig(const string &output_dir, const string &source_dir,
                          const string &api_dir_list,
                          const std::vector<string> op_names);
    };
    
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/common/controller.cc

    void Controller::BuildModel() {
      // Build the internal data model for the requested ops
      for (const auto& op_name : path_config_.op_names) {
        const OpDef* op_def = nullptr;
        TF_CHECK_OK(OpRegistry::Global()->LookUpOpDef(op_name, &op_def));
        CHECK(op_def != nullptr);  // Crash OK
    
        const ApiDef* api_def = api_def_map_->GetApiDef(op_name);
        CHECK(api_def != nullptr);  // Crash OK
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          counted only if the ops are named 'op_name' and has 'attr_val' if
          'attr_name' is specified.
        """
        op_count = 0
        for op_name in op_names:
          # Check the main graph
          op_count += self._count_op_with_name_and_attribute(
              nodes=graphdef.node,
              op_name=op_name,
              attr_name=attr_name,
              attr_val=attr_val,
              get_op_name=get_op_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.cc

    }
    
    void TFE_GetExecutedOpNames(TFE_Context* ctx, TF_Buffer* buf,
                                TF_Status* status) {
      const std::vector<std::string>& op_names =
          tensorflow::unwrap(ctx)->GetLoggedOpsTestonly();
    
      std::ostringstream op_names_oss;
      for (const auto& op : op_names) {
        op_names_oss << op << ", ";
      }
      const std::string& op_names_str = op_names_oss.str();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/scope.cc

                            false /* copy_names */));
    }
    
    Scope Scope::WithOpNameImpl(const string& op_name) const {
      if (impl()->single_use_scope()) {
        UpdateStatus(errors::InvalidArgument("Cannot set op name ", op_name,
                                             " on this scope"));
        return *this;
      }
      return Scope(new Impl(*this, Impl::Tags::OpName(), impl()->name_, op_name));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/scope_internal.h

           bool copy_names);
      Impl(const Scope& other, Tags::OpName, const string& name,
           const string& op_name);
      Impl(const Scope& other, Tags::ControlDeps,
           std::vector<Operation> control_deps, bool clear_control_deps);
      Impl(const Scope& other, Tags::Device, const string& device);
      Impl(const Scope& other, Tags::SingleUseScope, const string& op_name);
      Impl(const Scope& other, Tags::ExitOnError);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:46:43 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/python/composite.py

      # TODO(fengliuai): support input_binding and output_binding so the arguments
      # are not positional.
      def __init__(self,
                   op_name,
                   inputs=None,
                   attrs=None,
                   derived_attrs=None,
                   outputs=None):
        self._op_name = op_name
        self._inputs = inputs
        self._attrs = attrs
        self._derived_attrs = derived_attrs
        self._outputs = outputs
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top