Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for output_node (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/optimize-arg-operand-constraint.mlir

    attributes  {tf.entry_function = {inputs = "input", outputs = "output_node"}} {
      %0 = arith.constant dense<2.000000e+00> : tensor<f32>
      %1 = arith.constant dense<1.000000e+00> : tensor<f32>
      %2 = "tf.AddV2"(%arg0, %1) {T = "tfdtype$DT_FLOAT", device = "", name = "StatefulPartitionedCall/add"} : (tensor<1xf32>, tensor<f32>) -> tensor<1xf32>
      %3 = "tf.Mul"(%2, %0) {T = "tfdtype$DT_FLOAT", device = "", name = "output_node"} : (tensor<1xf32>, tensor<f32>) -> tensor<1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 719 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/feed-control-dep.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-data-types=DT_FLOAT -tf-output-arrays=output_node -o - | FileCheck %s
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            dim {
              size: 1
            }
          }
        }
      }
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

            TF_RET_CHECK(le->src_output() < num_outputs);
            Node* output_node = le->dst();
    
            if (add_edges_to_output_of_downstream_nodes) {
              TF_RET_CHECK(output_node->type_string() == kXlaClusterOutput)
                  << le->DebugString();
              nodes_to_remove.push_back(output_node);
    
              for (const Edge* oe : output_node->out_edges()) {
                TF_RET_CHECK(!oe->IsControlEdge());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/gradients.cc

          }
        }
      }
      // Finally, we set stop_backprop_nodes to all output_nodes that aren't also
      // internal_outputs.
      std::unordered_set<int> stop_backprop_nodes;
      for (int output_node : output_nodes) {
        if (internal_outputs.find(output_node) == internal_outputs.end()) {
          stop_backprop_nodes.insert(output_node);
        }
      }
      return stop_backprop_nodes;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

      const uint8_t* buffer = builder.GetBufferPointer();
      const Model* output_model = GetModel(buffer);
      ASSERT_TRUE(output_model);
    
      // Nothing should change.
      ASSERT_EQ(output_model->subgraphs()->size(), model_->subgraphs()->size());
      for (size_t subgraph_idx = 0; subgraph_idx < model_->subgraphs()->size();
           subgraph_idx++) {
        const auto quantized_graph = output_model->subgraphs()->Get(subgraph_idx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/sparsity/sparsify_model_test.cc

          output_builder.GetSize());
      tflite::ModelT output_model;
      output_fbm->GetModel()->UnPackTo(&output_model);
    
      // Extract output metadata
      std::map<std::string, std::string> output_metadata;
      for (const auto& metadata : output_model.metadata) {
        const auto& data = output_model.buffers[metadata->buffer]->data;
        output_metadata[metadata->name] = std::string(data.begin(), data.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:16:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

            for (StringRef output_name : fn_output_names) {
              if (output_name_set.contains(output_name)) {
                // Found a duplicated name, all output names will be prefixed by
                // their corresponding function names.
                need_prefix_for_output_name = true;
              }
              output_name_set.insert(output_name);
              fn_output_name_vec.push_back(function_name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

      Initialize();
      for (const std::string& output_name : output_names) {
        Tensor output;
        if (output_name == "dense/bias") {
          Tensor t = Tensor(tensorflow::DT_FLOAT, tensorflow::TensorShape({50}));
          t.flat<float>().setZero();
          outputs->push_back(t);
        } else if (output_name == "dense/kernel") {
          Tensor t =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables_test_pass.h

          override {
        for (const std::string& output_name : output_names) {
          Tensor output;
          if (output_name == "dense/bias") {
            Tensor t = Tensor(tensorflow::DT_FLOAT, tensorflow::TensorShape({50}));
            t.flat<float>().setZero();
            outputs->push_back(t);
          } else if (output_name == "dense/kernel") {
            Tensor t =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 21 15:49:06 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  10. hack/apidiff.sh

    PATH="${GOBIN}:${PATH}"
    echo "Installing apidiff into ${GOBIN}."
    go install golang.org/x/exp/cmd/apidiff@latest
    
    cd "${KUBE_ROOT}"
    
    # output_name targets a target directory and prints the base name of
    # an output file for that target.
    output_name () {
        what="$1"
    
        echo "${what}" | sed -e 's/[^a-zA-Z0-9_-]/_/g' -e 's/$/.out/'
    }
    
    # run invokes apidiff once per target and stores the output
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 09:00:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top