Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for setPrivate (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      func::FuncOp cond =
          func::FuncOp::create(loc, "new_while_cond", cond_func_type);
      func::FuncOp body =
          func::FuncOp::create(loc, "new_while_body", body_func_type);
      cond.setPrivate();
      body.setPrivate();
      symbol_table.insert(cond);
      symbol_table.insert(body);
      OpBuilder cond_builder = OpBuilder::atBlockBegin(cond.addEntryBlock());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

            builder.getFunctionType(/*inputs=*/{}, /*results=*/{});
        auto summary_func = builder.create<func::FuncOp>(
            builder.getUnknownLoc(), /*sym_name=*/"summary", func_type);
        summary_func.setPrivate();
        summary_func->setAttr("quantization_summary",
                              builder.getStringAttr(log_message));
      }
    
     private:
      // Structs used to count quantized and non-quantized ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

              subgraph, &builder, "outputs", func_outputs));
        }
        if (!attributes.empty()) {
          func->setAttr("tf.entry_function", builder.getDictionaryAttr(attributes));
        }
      } else {
        func.setPrivate();
      }
    
      // Set signature on function.
      if (signature) {
        SetSignature(func, signature, subgraph.tensors);
      }
    
      absl::flat_hash_set<const tflite::OperatorT*> pruned_subgraph_ops;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      SmallString<64> name_base = callee.getName();
      auto module = callee->getParentOfType<ModuleOp>();
      name_base += "_resource_lifted";
      auto name = name_base;
      callee = callee.clone();
      callee.setPrivate();
      callee.setName(mlir::StringAttr::get(callee->getContext(), name));
      SymbolTable(module).insert(callee);
      result->lifted_callee = callee;
    
      // Remove unused resources in functions.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            assertThat(bean.getPackageProtected(), equalTo("package-protected"));
            assertThat(bean.getProtected(), equalTo("protected"));
            assertThat(bean.getPrivate(), equalTo("private"));
    
            IConventionAware conventionAware = (IConventionAware) bean;
            conventionAware.getConventionMapping().map("packageProtected", new Callable<String>() {
                public String call() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
Back to top