Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 732 for attr_ (0.09 sec)

  1. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

    }
    
    LogicalResult ConvertNgrams(func::FuncOp func, llvm::StringRef api,
                                FuncAttr attr) {
      func.eraseBody();
      func.addEntryBlock();
      func->setAttr(kTFImplements, attr);
      OpBuilder builder(func.getBody());
      std::string custom_option_buffer;
      if (failed(CreateNgramsCustomOption(func, attr.getAttrs(),
                                          custom_option_buffer))) {
        return failure();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/python/op_reg_gen.py

        for input_ in inputs:
          cxx_reg_code.append('.Input("{}")'.format(input_))
        for attr in attrs:
          py_str = attr.replace('"', "'")
          cxx_reg_code.append('.Attr("{}")'.format(py_str))
        for attr in all_dec_args.get('derived_attrs', []):
          py_str = attr.replace('"', "'")
          cxx_reg_code.append('.Attr("{}")'.format(py_str))
        for output_ in all_dec_args.get('outputs', []):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5K bytes
    - Viewed (0)
  3. src/log/slog/logger_test.go

    	for _, test := range []struct {
    		args []any
    		want []Attr
    	}{
    		{nil, nil},
    		{[]any{"a", 1}, []Attr{Int("a", 1)}},
    		{[]any{"a", 1, "b", "two"}, []Attr{Int("a", 1), String("b", "two")}},
    		{[]any{"a"}, []Attr{String(badKey, "a")}},
    		{[]any{"a", 1, "b"}, []Attr{Int("a", 1), String(badKey, "b")}},
    		{[]any{"a", 1, 2, 3}, []Attr{Int("a", 1), Int(badKey, 2), Int(badKey, 3)}},
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:25:30 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/xml/DomUtil.java

                final Attr attr = (Attr) attrs.item(i);
                buf.append(' ');
                appendAttr(attr, buf);
            }
        }
    
        /**
         * {@link Attr}の文字列表現を追加します。
         *
         * @param attr
         *            属性。{@literal null}であってはいけません
         * @param buf
         *            文字列バッファ。{@literal null}であってはいけません
         */
        public static void appendAttr(final Attr attr, final StringBuilder buf) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/functional_grad.cc

                               std::vector<Output>* grad_outputs) {
      NameAttrList f;
      TF_RETURN_IF_ERROR(GetNodeAttr(op.node()->attrs(), "f", &f));
      for (const auto& attr : op.node()->attrs()) {
        (*f.mutable_attr())[attr.first] = attr.second;
      }
    
      std::vector<Output> func_inputs;
      std::vector<DataType> input_dtypes;
      const int num_inputs = op.num_inputs();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 20:09:06 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      EXPECT_EQ(shapes.size(), 0);
      TF_CHECK_OK(GetNodeAttr(host_compute_1->attrs(), "shapes", &shapes));
      EXPECT_EQ(shapes.size(), 1);
      EXPECT_EQ(shapes[0].dim_size(), 1);
      // Check XlaHostCompute nodes' "shape_inference_graph" attr. Both should have
      // empty values.
      NameAttrList shape_inference_graph;
      TF_CHECK_OK(GetNodeAttr(host_compute_0->attrs(), "shape_inference_graph",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/serialized-mlir-module-str-attr.mlir

    // RUN: tf-mlir-translate -mlir-tf-str-attr-to-mlir %s -mlir-print-debuginfo -mlir-print-local-scope | FileCheck %s
    
    "\0A\0Amodule attributes {tf.versions = {producer = 888 : i32}} {\0A func.func @main(%arg0: tensor<?xi32>) -> tensor<?xi32> {\0A %0 = \22tf.Identity\22(%arg0) : (tensor<?xi32>) -> tensor<?xi32> loc(unknown)\0A return %0 : tensor<?xi32> loc(unknown)\0A } loc(unknown)\0A} loc(unknown)"
    
    // Test simple serialized computation consisting of a function named `main`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 09 13:27:00 UTC 2022
    - 998 bytes
    - Viewed (0)
  8. src/html/template/attr.go

    Russ Cox <******@****.***> 1632321992 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/mlir-module-serialized-str-attr.mlir

    // RUN: tf-mlir-translate -mlir-tf-mlir-to-str-attr -mlir-print-local-scope %s | FileCheck %s
    
    module attributes {tf.versions = {producer = 888 : i32}} {
      func.func @main(%arg0: tensor<?xi32>) -> tensor<?xi32> {
        %0 = "tf.Identity"(%arg0) : (tensor<?xi32>) -> tensor<?xi32> loc(unknown)
        func.return %0 : tensor<?xi32> loc(unknown)
      } loc(unknown)
    } loc(unknown)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 24 06:42:46 UTC 2023
    - 672 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

              attrs.push_back(named_attr);
              break;
            }
            case flexbuffers::FBT_VECTOR_BOOL: {
              llvm::SmallVector<bool> vec;
              const auto& vector = value.AsTypedVector();
              for (size_t i = 0; i < vector.size(); i++) {
                vec.push_back(vector[i].AsBool());
              }
              attrs.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top