Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,344 for Auto (0.2 sec)

  1. tensorflow/cc/gradients/math_grad.cc

      }
    
      auto c = op.input(0);
      auto x = op.input(1);
      auto y = op.input(2);
    
      auto zeros = ZerosLike(scope, grad_inputs[0]);
      auto gx = SelectV2(scope, c, grad_inputs[0], zeros);
      auto x_shape = Shape(scope, x);
      auto output_shape = Shape(scope, op.output(0));
    
      // Reduce away broadcasted leading dims.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_cache_test.cc

    TEST(DeviceCompilationCacheTest, StoreMultipleEntries) {
      auto cache = std::make_unique<Cache>();
    
      TF_ASSERT_OK_AND_ASSIGN(auto key1, BuildSampleSignature("foo"));
      TF_ASSERT_OK_AND_ASSIGN(auto key2, BuildSampleSignature("bar"));
    
      auto compilation_result1 = std::make_unique<XlaCompiler::CompilationResult>();
      auto compilation_result2 = std::make_unique<XlaCompiler::CompilationResult>();
      auto executable1 = std::make_unique<FakeExecutable>("foo_exe");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

    }
    
    void Exporter::UseOriginalFunctionNames(NodeDef& node_def) {
      if (!configs_.export_original_tf_func_name) return;
    
      auto& attrs = *node_def.mutable_attr();
    
      auto try_use_original_func_name = [this](std::string* name) {
        if (auto func = symbol_table_.lookup<FuncOp>(*name)) {
          if (auto original_func_name =
                  func->getAttrOfType<mlir::StringAttr>("tf._original_func_name")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

    }
    
    void Exporter::UseOriginalFunctionNames(NodeDef& node_def) {
      if (!configs_.export_original_tf_func_name) return;
    
      auto& attrs = *node_def.mutable_attr();
    
      auto try_use_original_func_name = [this](std::string* name) {
        if (auto func = symbol_table_.lookup<FuncOp>(*name)) {
          if (auto original_func_name =
                  func->getAttrOfType<mlir::StringAttr>("tf._original_func_name")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

      for (auto& input : inputs) {
        auto input_op = input.get().getDefiningOp();
        if (!input_op || !IsSupportedHostInputOp(input_op)) return false;
      }
      for (auto entry : llvm::enumerate(inputs)) {
        Value input = entry.value().get();
        auto ranked_type = mlir::dyn_cast<RankedTensorType>(input.getType());
        if (!ranked_type) return false;
        auto input_shape = ranked_type.getShape();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        return success();
      }
    
      auto stride_h = op.getStrideHAttr().getInt();
      auto stride_w = op.getStrideWAttr().getInt();
      auto dilation_h = op.getDilationHFactorAttr().getInt();
      auto dilation_w = op.getDilationWFactorAttr().getInt();
    
      // We don't have EXPLICIT PADDING in TfLite.
      auto paddings = op.getPadding();
      tensorflow::Padding padding;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/error_util_test.cc

      MLIRContext context;
      auto id =
          StringAttr::get(&context, "//tensorflow/python/keras/keras_file.py");
      auto loc = FileLineColLoc::get(&context, id, 0, 0);
      auto id2 =
          StringAttr::get(&context, "//tensorflow/python/something/my_test.py");
      auto loc2 = FileLineColLoc::get(&context, id2, 0, 0);
      auto id3 = StringAttr::get(&context, "python/tensorflow/show_file.py");
      auto loc3 = FileLineColLoc::get(&context, id3, 0, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

        return rewriter.notifyMatchFailure(op, "zero_points must be constant");
      }
    
      auto original_element_type = getElementTypeOrSelf(original_type);
      if (!mlir::isa<TF::Qint8Type, TF::Qint32Type>(original_element_type)) {
        return rewriter.notifyMatchFailure(
            op, "Quantized type must be qint8 or qint32.");
      }
      auto storage_type = GetIntTypeFromTFQint(original_element_type);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

      llvm::SmallPtrSet<Operation*, 4> defining_ops;
      llvm::SmallVector<Type, 4> types;
      for (auto& item :
           llvm::make_early_inc_range(llvm::reverse(graph_op.GetBody()))) {
        auto it = new_control_inputs.find(&item);
        if (it == new_control_inputs.end()) continue;
        auto& new_control_inputs_for_item = it->second;
        builder.setInsertionPoint(&item);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/compile/JavaModuleCompileIntegrationTest.groovy

                    manifest {
                        attributes 'Automatic-Module-Name': 'auto'
                    }
                }
    
            """
            file('auto-module/src/main/java/auto/AutoClass.java')  << """
                package auto;
    
                public class AutoClass {
                    public void m() {
                        // can access, because a auto module sees the unnamed module
                        new moda.ModaClass();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top