Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 845 for inputs_ (0.31 sec)

  1. tensorflow/cc/framework/ops.cc

    }
    
    Operation::Inputs Operation::GetInputs(Node* node) {
      Operation::Inputs inputs;
      if (node != nullptr) {
        inputs.resize(node->num_inputs(), {nullptr, -1});
        for (const Edge* e : node->in_edges()) {
          if (e->IsControlEdge()) continue;
          inputs[e->dst_input()] = std::make_pair(e->src(), e->src_output());
        }
      }
      return inputs;
    }
    
    Input::Initializer::Initializer(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/cc/ops/while_loop_test.cc

      }
    
      template <typename T>
      void Run(const std::vector<Input::Initializer>& input_values,
               const std::vector<T>& expected_output_values) {
        ClientSession session(scope_);
    
        DCHECK_EQ(input_values.size(), inputs_.size());
        ClientSession::FeedType feeds;
        for (int i = 0; i < inputs_.size(); ++i) {
          feeds.emplace(inputs_[i], input_values[i]);
        }
    
        std::vector<Tensor> out_tensors;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 22:30:58 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/output-shapes-attr.mlir

    func.func @main(%arg0: tensor<10xi32>) -> tensor<10xi32>
    attributes {tf.entry_function = {inputs = "input0", outputs = "output0"}} {
      %graph = tf_executor.graph {
        tf_executor.fetch %arg0 : tensor<10xi32>
      }
      func.return %graph : tensor<10xi32>
    }
    
    // CHECK:      node {
    // CHECK-NEXT:   name: "input0"
    // CHECK-NEXT:   op: "_Arg"
    // CHECK:          key: "T"
    // CHECK-NEXT:     value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu-annotate-dynamic-shape-inputs.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tf-tpu-annotate-dynamic-shape-inputs %s | FileCheck %s
    
    // Test that annotate the inputs of the cluster func to be dynamic shaped.
    
    module attributes {tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
       func.func @main(
          %arg0: tensor<2048xi64> {tf.device = "/job:localhost/replica:0/task:0/device:CPU:0"},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

      shape_0, shape_1 = tf.shape_n([op.inputs[0], op.inputs[1]])
      return [
          tf.compat.v1.nn.conv2d_backprop_input(
              shape_0,
              op.inputs[1],
              grad,
              strides=strides,
              padding=padding,
              dilations=dilations,
              data_format='NHWC'),
          tf.compat.v1.nn.conv2d_backprop_filter(
              op.inputs[0],
              shape_1,
              grad,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py

              num_split=2)
    
        input_ = tf.raw_ops.Concat(
            concat_dim=i, values=[left_padding, input_, right_padding])
      return input_
    
    
    @tf.RegisterGradient('NewMirrorPad')
    def _mirror_pad_grad(op, grad):
      mode = op.get_attr('mode')
      return [gen_array_ops.mirror_pad_grad(grad, op.inputs[1], mode=mode), None]
    
    
    @Composite(
        'NewMirrorPadGrad',
        inputs=['input_: T', 'paddings: Tpaddings'],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 01 05:00:29 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/python/op_reg_gen.py

          else:
            # Op has been registered, then we don't need to generate register code.
            return
    
        # Validates the function inputs match what are in the decorator.
        inputs = all_dec_args.get('inputs', [])
        attrs = all_dec_args.get('attrs', [])
        expected_args = [arg.split(':')[0] for arg in inputs + attrs]
        all_func_args = self.visit(node.args)
    
        if len(expected_args) != len(all_func_args):
          raise KeyError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/python/composite.py

                   op_name,
                   inputs=None,
                   attrs=None,
                   derived_attrs=None,
                   outputs=None):
        self._op_name = op_name
        self._inputs = inputs
        self._attrs = attrs
        self._derived_attrs = derived_attrs
        self._outputs = outputs
    
      def __call__(self, compose_fn):
        # TODO(fengliuai): more sanity check of the input function and make sure
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/gofmt/testdata/tabs.input

    Daniel Martí <******@****.***> 1652048963 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:22:49 UTC 2022
    - 449 bytes
    - Viewed (0)
  10. src/cmd/gofmt/testdata/crlf.input

    Russ Cox <******@****.***> 1643907045 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 15 17:17:30 UTC 2022
    - 243 bytes
    - Viewed (0)
Back to top