Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 109 for comp_name (0.24 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

      def _visit_tfr_builtins(self, op_name, args, node):
        arg_strs = []
        arg_tys = []
        for arg in args:
          value, ty = self.visit(arg)
          arg_strs.append(value)
          arg_tys.append(ty)
        tfr_op_name = 'tfr.' + op_name[5:]
        ret_tys = (
            TFR_BUILTINS[op_name](*arg_tys)
            if callable(TFR_BUILTINS[op_name]) else TFR_BUILTINS[op_name])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients.cc

    }
    }  // namespace
    
    Status GradientRegistry::Register(
        const string& op_name, GradientFunctionFactory gradient_function_factory) {
      auto iter = registry_.find(op_name);
      if (iter != registry_.end()) {
        const string error_msg = "Gradient already exists for op: " + op_name + ".";
        return errors::AlreadyExists(error_msg);
      }
      registry_.insert({op_name, gradient_function_factory});
      return absl::OkStatus();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/metrics/types_util.cc

        const std::string& op_name, const Location& location) {
      using tflite::metrics::ConverterErrorData;
      ConverterErrorData error;
      if (!pass_name.empty()) {
        error.set_subcomponent(pass_name);
      }
    
      if (!error_message.empty()) {
        error.set_error_message(error_message);
      }
    
      if (!op_name.empty()) {
        error.mutable_operator_()->set_name(op_name);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

    
    def _find_op(
        graph: ops.Graph, op_name: Optional[str]
    ) -> Optional[ops.Operation]:
      """Finds the operation with `op_name`.
    
      Args:
        graph: The graph to find from.
        op_name: Name of the node.
    
      Returns:
        The operation that corresponds to `op_name`. Returns None iff op_name is an
        empty string or None.
    
      Raises:
        ValueError: `op_name` is malformed.
      """
      if not op_name:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/cmd/cover/testdata/test.go

    // the coverage processing has changed the line numbers, so we can't use runtime.Caller.
    
    package main
    
    import _ "unsafe" // for go:linkname
    
    //go:linkname some_name some_name
    var some_name int
    
    const anything = 1e9 // Just some unlikely value that means "we got here, don't care how often"
    
    func testAll() {
    	testSimple()
    	testBlockRun()
    	testIf()
    	testFor()
    	testRange()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/scope.cc

    }
    
    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));
    }
    
    Scope Scope::WithControlDependencies(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

    absl::StatusOr<bool> IsSmallConstant(Node* n) {
      if (!n->IsConstant()) {
        return false;
      }
    
      return IsConstantSmall(n);
    }
    
    bool IsInPlaceOp(absl::string_view op_name) {
      return op_name == "InplaceUpdate" || op_name == "InplaceAdd" ||
             op_name == "InplaceSub";
    }
    }  // namespace
    
    Status CloneConstantsForBetterClusteringPassImpl::CloneSmallConstantInputs(
        const absl::flat_hash_set<string>& name_set, Node* n) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/quantization_info.proto

      }
    
      // The quantization parameters for a named tensor.
      message QuantParams {
        // The tensor name has the following convention:
        //     tensor_name := op_name | op_name  ’:’  port_number.
        // If the op has only one port, op_name can be used.
        // If the op has internal states, such as fused LSTM, the port_number should
        // follow a predefined convention.
        oneof name_oneof {
          string name = 1;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 08 03:45:04 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/util/internal/NameMatcherTest.groovy

            matches("soN", "someName")
            matches("SN", "someName")
            matches("SN", "SomeName")
            matches("SN", "SomeNameWithExtraStuff")
            matches("so_n", "some_name")
            matches("so_n", "some_Name")
            matches("so_n_wi_ext", "some_Name_with_EXTRA")
            matches("so.n", "some.name")
            matches("so n", "some name")
            matches("ABC", "ABC")
            matches("a9N", "a9Name")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top