Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for comp_name (0.37 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/configure/NativeBinaryRulesTest.groovy

            and:
            NativeBinaryRules.assignTools(binary, toolChains, tmpDir.testDirectory)
    
            then:
            executableFile.file == tmpDir.testDirectory.file("exe/comp_name/exe_name")
            installation.directory == tmpDir.testDirectory.file("install/comp_name")
        }
    
        def "test shared library"() {
            def binary = initBinary(SharedLibraryBinarySpecInternal, NativeLibrarySpec)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

    namespace odml {
    
    static bool isDenseI64Array(llvm::StringRef op_name,
                                llvm::StringRef field_name) {
      if (op_name == "stablehlo.broadcast" && field_name == "broadcast_sizes")
        return true;
      if (op_name == "stablehlo.broadcast_in_dim" &&
          field_name == "broadcast_dimensions")
        return true;
      if ((op_name == "stablehlo.convolution" ||
           op_name == "stablehlo.dynamic_conv") &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/tools/tflite_op_coverage_spec_getters_gen.cc

              // Conditions when using TOCO.
              if (absl::StrContains(op_name, "LSTMOp")) continue;
            } else {
              // Conditions when using MLIR.
              if (!(absl::StrContains(op_name, "LSTMOp") ||
                    absl::StrContains(op_name, "SoftmaxOp") ||
                    absl::StrContains(op_name, "LogisticOp") ||
                    absl::StrContains(op_name, "L2NormalizationOp") ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc

      // Find the op names with tf or tfl dialect prefix, Ex: "tf.Abs" or "tfl.Abs".
      auto collectOps = [this](Operation *op) {
        const auto &op_name = op->getName().getStringRef().str();
        if (absl::StartsWith(op_name, "tf.") || absl::StartsWith(op_name, "tfl.")) {
          loc_to_name_.emplace(op->getLoc(), op_name);
        }
      };
    
      for (auto &region : module->getRegions()) {
        region.walk(collectOps);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/lite/converter_gen.cc

    static inline std::string GetOperatorBuilderName(StringRef op_name) {
      assert(op_name.starts_with("TFL_") && "unexpected op prefix");
      assert(op_name.ends_with("Op") && "unexpected op suffix");
    
      // E.g., AddOp -> CreateAddOperator
      std::ostringstream oss;
      oss << "Create" << op_name.drop_front(4).str() << "erator";
      return oss.str();
    }
    
    static inline bool IsLstmOp(const StringRef op_name) {
      return op_name.take_back(6) == "LSTMOp";
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_test.cc

      const char* node_name = "SomeNodeName";
      const char* op_name = "FooOp";
      const char* device_name = "FakeDeviceName1";
    
      REGISTER_OP(op_name)
          .Input("input1: double")
          .Input("input2: uint8")
          .Output("output1: uint8")
          .Attr("SomeDataTypeAttr: type");
    
      TF_KernelBuilder* builder = TF_NewKernelBuilder(
          op_name, device_name, &MyCreateFunc, &MyComputeFunc, &MyDeleteFunc);
    
      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/scope_test.cc

      const string mul_op_name = linear.GetUniqueNameForOp("mul");
      const string bias_add_op_name = linear.GetUniqueNameForOp("bias_add");
      auto cop_names = AnotherCompositeOp(cop_scopes.last);
      return {mul_op_name, bias_add_op_name, cop_names[0], cop_names[1],
              cop_names[2]};
    }
    
    }  // namespace
    
    TEST(ScopeTest, CompositeOp) {
      Scope root = Scope::NewRootScope();
      const auto names1 = LinearOp(root);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 08:17:37 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/python/op_reg_gen.py

        all_dec_args.update(kw_dec_args)
    
        op_name = all_dec_args['op_name']
        op_def = op_def_registry.get(op_name)
        if op_def:
          if len(all_dec_args) > 1:
            # Op has been registered, so it is a user error to specify op def.
            raise ValueError('Op has been registered: ' + op_name)
          else:
            # Op has been registered, then we don't need to generate register code.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5K bytes
    - Viewed (0)
Back to top