Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for NODE_NAME (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

              custom_op_map[node_name].quantizable_input_indices.push_back(
                  std::stoi(cur_index));
            }
            break;
          }
          case CustomOpUpdateOptions::kWeightOnly:
            custom_op_map[node_name].is_weight_only =
                GetBooleanSpecs(node_specification);
            break;
          case CustomOpUpdateOptions::kNoSideEffect:
            custom_op_map[node_name].no_side_effect =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc

    constexpr std::string_view kQuantizationUnitSuffix = ")";
    
    // Concatenates node name and func name with a "@" separator.
    std::string ConcatNodeAndFuncName(std::string_view node_name,
                                      std::string_view func_name) {
      return absl::StrCat(node_name, "@", func_name);
    }
    
    // Generate a string to represent the QuantizationUnit.
    std::string GenerateQuantizationUnitString(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/c/while_loop_test.cc

      // Check for a few expected nodes
      const char* node_name = "test_loop/cond/scalar";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
      node_name = "test_loop/body/add";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
      node_name = "test_loop/body/inner_loop/body/one";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
      node_name = "test_loop/body/inner_loop/cond/less_than";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/eval_util.cc

      // Builds TF operation and sets all the attributes.
      std::string node_name = "unnamed";
      if (auto attr = inst->getAttrOfType<mlir::StringAttr>("name")) {
        node_name = std::string(attr.getValue());
      }
      auto node_def_or = ConvertTFDialectOpToNodeDef(
          inst, node_name.c_str(), /*ignore_unregistered_attrs=*/true);
      RETURN_FAILURE_IF_ERROR(node_def_or.status());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 06:02:14 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

      }
    
      // Builds TF operation and sets all the attributes.
      std::string node_name = "unnamed";
      if (const StringAttr attr = inst->getAttrOfType<StringAttr>("name")) {
        node_name = std::string(attr.getValue());
      }
      absl::StatusOr<std::unique_ptr<tensorflow::NodeDef>> node_def =
          tensorflow::ConvertTFDialectOpToNodeDef(
              inst, node_name.c_str(), /*ignore_unregistered_attrs=*/true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc

          return StringRef();
        }
      }
    
      StringRef result;
      for (Attribute class_attr : classes_attr) {
        StringRef node_name = mlir::cast<StringAttr>(class_attr).getValue();
        if (!node_name.starts_with(kLocationPrefix)) {
          continue;
        }
        if (!result.empty()) {
          // Invalid case since there are multiple loc:@ attributes.
          op->emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      return absl::OkStatus();
    }
    
    Status MakeXlaCompiledKernel(Graph* graph, const string& callee_name,
                                 const string& node_name, int num_constant_args,
                                 int num_resource_args, Node** result) {
      NodeDef call_node;
      call_node.set_name(node_name);
      call_node.set_op(callee_name);
      AddNodeAttr(kXlaCompiledKernelAttr, true, &call_node);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc

                            const absl::string_view contains) {
      for (const std::string& node_name : control_ret_node_names) {
        if (absl::StrContains(node_name, contains)) {
          VLOG(1) << "Node found: " << node_name << ", contains: " << contains;
          return node_name;
        }
      }
      VLOG(1) << "Could not find node whose name conatins: " << contains;
      return "";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_util.cc

      for (auto n : placeholder_nodes) {
        string node_name;
        int node_src_output;
        TF_RETURN_IF_ERROR(GetNodeAttr(
            n->attrs(), kOutsideCompilationOriginalNodeAttrName, &node_name));
        TF_RETURN_IF_ERROR(GetNodeAttr(
            n->attrs(), kOutsideCompilationSrcOutputAttrName, &node_src_output));
        auto iter = node_name_index.find(node_name);
        if (iter == node_name_index.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

      llvm::SmallVector<Value> returning_values(output_count, Value());
      for (const auto& node_name : node_to_output_map.keys()) {
        auto node_output_tensors = node_to_output_map[node_name];
    
        NameLoc new_loc = NameLoc::get(builder.getStringAttr(node_name));
        int32_t max_tensor_index = 0;
        absl::c_for_each(node_output_tensors,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top