Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 114 for const_0 (0.19 sec)

  1. tensorflow/compiler/jit/build_xla_ops_pass.cc

    absl::StatusOr<Node*> ReplaceFunctionCallWithPartitionedCall(
        const GraphOptimizationPassOptions& options,
        const FunctionLibraryDefinition& flib_def, Node* n, Graph* g,
        const NameAttrList& func, const Scope& root) {
      string config_string = options.session_options->config.SerializeAsString();
    
      int input_count = absl::c_count_if(
          n->in_edges(), [](const Edge* e) { return !e->IsControlEdge(); });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      // operations specified (0).
      void DefineT(int num_opers, const std::vector<TF_Operation*>& opers,
                   const std::vector<TF_Output>& inputs,
                   const std::vector<TF_Output>& outputs,
                   const std::vector<string>& output_names,
                   bool expect_failure = false) {
        ASSERT_EQ(func_, nullptr);
        const char** output_names_ptr = ToArray(output_names);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "ConstNil", typ: "BytePtr"},   // nil pointer
    	{name: "Const8", aux: "Int8"},        // auxint is sign-extended 8 bits
    	{name: "Const16", aux: "Int16"},      // auxint is sign-extended 16 bits
    	{name: "Const32", aux: "Int32"},      // auxint is sign-extended 32 bits
    	// Note: ConstX are sign-extended even when the type of the value is unsigned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                    // new Object[] { args }
                    visitLabel(notArray);
                    _ICONST_1();
                    _ANEWARRAY(OBJECT_TYPE);
                    _DUP();
                    _ICONST_0();
                    _ALOAD(2);
                    _AASTORE();
    
                    visitLabel(end);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (Rsh32Ux64 _ (Const64 [c])) && uint64(c) >= 32 => (Const32 [0])
    (Lsh16x64 _ (Const64 [c])) && uint64(c) >= 16 => (Const16 [0])
    (Rsh16Ux64 _ (Const64 [c])) && uint64(c) >= 16 => (Const16 [0])
    (Lsh8x64 _ (Const64 [c])) && uint64(c) >= 8 => (Const8 [0])
    (Rsh8Ux64 _ (Const64 [c])) && uint64(c) >= 8 => (Const8 [0])
    
    // large constant signed right shift, we leave the sign bit
    (Rsh32x64 x (Const64 [c])) && uint64(c) >= 32 => (SRAconst x [31])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

      // definition, potentially leading to bogus _replication_info attributes. So
      // we just scrub all tf.Constants of all extra attributes.
      // TODO(kramm): Remove this once tf.Const's folder is aware of extra
      // attributes.
      auto value_str_attr = StringAttr::get(&getContext(), "value");
      getOperation().walk([&](mlir::TF::ConstOp cst) {
        auto dict = cst->getAttrDictionary();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      LogicalResult matchAndRewrite(ConstOp const_op,
                                    PatternRewriter& rewriter) const override {
        if (arith::ConstantOp::isBuildableWith(const_op.getValue(),
                                               const_op.getType())) {
          rewriter.replaceOpWithNewOp<arith::ConstantOp>(const_op,
                                                         const_op.getValue());
          return success();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      %index_in_list = "tf.Const"() {value = dense<0> : tensor<1xi32>} : () -> tensor<1xi32>
      %arg0_shape = "tf.Const"() {value = dense<[1, 8, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
      %arg0_reshaped = "tf.Reshape"(%arg0, %arg0_shape) : (tensor<8x4xf32>, tensor<3xi32>) -> tensor<1x8x4xf32>
      %zeroi2 = "tf.Const"() {value = dense<0> : tensor<2xi32>} : () -> tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  9. doc/asm.html

    changes in data layout either in the Go type definitions or in the
    layout rules used by the Go compiler.
    </p>
    
    <p>
    Constants are of the form <code>const_<i>name</i></code>.
    For example, given the Go declaration <code>const bufSize =
    1024</code>, assembly code can refer to the value of this constant
    as <code>const_bufSize</code>.
    </p>
    
    <p>
    Field offsets are of the form <code><i>type</i>_<i>field</i></code>.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (1)
  10. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

        tf_device.return %identity : tensor<i32>
      }) : () -> (tensor<i32>)
      return %cluster : tensor<i32>
    }
    ```
    
    will be transformed into:
    
    ```mlir
    func @cluster() -> tensor<i32> {
      %cluster = "tf_device.cluster"() ( {
        %const = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
        %identity = "tf.Identity"(%const) : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
Back to top