Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for setPrivate (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

          // should be no other reference to it.
          clone.setName(StringAttr::get(clone.getContext(), "main"));
          clone.setPublic();
        } else {
          clone.setPrivate();
        }
        symbol_table.insert(clone);
      }
    
      *serialized_func_module =
          tensorflow::SerializeMlirModule(module_for_func.get());
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

      func::FuncOp lowered_callee = callee;
      if (!callee.isPrivate()) {
        // Clone non-private callee in case of signature change.
        lowered_callee = callee.clone();
        lowered_callee.setPrivate();
      }
      auto find_arg_stack_type = [&](int64_t index) -> std::optional<Type> {
        auto it = data_var_to_size_var.find(call.getOperand(index));
        if (it == data_var_to_size_var.end()) return std::nullopt;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

      terminator = first_block.getTerminator();
      builder.setInsertionPoint(terminator);
      builder.create<func::ReturnOp>(terminator->getLoc(), return_values);
      terminator->erase();
    
      outlined_func.setPrivate();
    
      // Uniquify the function name, and insert into module.
      symbol_table.getSymbolTable(module).insert(outlined_func,
                                                 module.getBody()->begin());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

      func::FuncOp lowered_callee = callee;
      if (!callee.isPrivate()) {
        // Clone non-private callee in case of signature change.
        lowered_callee = callee.clone();
        lowered_callee.setPrivate();
      }
      auto find_arg_buffer_type = [&](int64_t index) -> std::optional<Type> {
        auto it = buffer_to_size->find(call.getOperand(index));
        if (it == buffer_to_size->end()) return std::nullopt;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      builder.setInsertionPointToEnd(&module.getBodyRegion().back());
      func::FuncOp func_op = builder.create<func::FuncOp>(
          module.getLoc(), name,
          builder.getFunctionType(input_types, output_types));
      func_op.setPrivate();
    
      return func_op;
    }
    
    TF::StatefulPartitionedCallOp EncapsulateOpsInFunc(
        OpBuilder& builder, const llvm::SetVector<Operation*>& ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

      for (auto& func : funcs_to_rewrite) {
        if (func.getSecond().original.isPublic() &&
            !func.getSecond().original.symbolKnownUseEmpty(module)) {
          auto clone = func.getSecond().original.clone();
          clone.setPrivate();
          symbol_table.insert(clone);
          func.getSecond().clone = clone;
        }
      }
    
      return success();
    }
    
    // Assigns either MAXIMAL or MANUAL sharding. The MAXIMAL sharding sends/recvs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/ClassInspectorTest.groovy

            }
    
            protected String prop() {
                return prop
            }
    
            static String ignoredStatic
            private String ignoredPrivate
    
            private Number getPrivate() {
                return 12
            }
    
            static Long getLong() {
                return 12L
            }
        }
    
        interface SomeInterface {
            Number getProp()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 11.1K bytes
    - Viewed (0)
Back to top