Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 593 for shake (0.12 sec)

  1. tensorflow/compiler/mlir/tfr/tests/end2end.mlir

    // CHECK-NEXT: %[[SHAPE:.*]] = "tf.RiscShape"(%arg0) {T = i32} : (tensor<2x3xf32>) -> tensor<*xi32>
    // CHECK-NEXT: %[[ALPHA1:.*]] = "tf.RiscBroadcast"(%[[ALPHA]], %[[SHAPE]]) : (tensor<f32>, tensor<*xi32>) -> tensor<*xf32>
    // CHECK-NEXT: %[[MAX:.*]] = "tf.RiscMaximum"(%arg0, %[[ALPHA1]]) : (tensor<2x3xf32>, tensor<*xf32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.mlir

      // CHECK: %[[CUSTOM_AGGREGATOR_2:.*]], {{.*}}, {{.*}}, {{.*}} = "tf.CustomAggregator"(%[[XLA_CALL_MODULE:.*]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_tpu_device.cc

    // Given a tensor of `shape` and `type`, as what shape should it be stored on
    // the TPU device? This function tranposes or flattens the excessively-padded
    // tensors to rank 1, but leaves other tensor shapes alone.
    absl::StatusOr<xla::Shape> TpuShapeRepresentation(
        const TensorShape& shape, DataType type, bool use_fast_memory,
        XlaLayoutPreference layout_preference) {
      xla::Shape xla_shape;
      TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_compiler_options_util_test.cc

      // Check if options have the supplied shape determination functions set.
      TF_ASSERT_OK_AND_ASSIGN(
          auto shape, options.shape_determination_fns.shape_representation_fn(
                          TensorShape(), DT_FLOAT, false,
                          tensorflow::XlaLayoutPreference::kTpuPreferLinearLayout));
      EXPECT_EQ(shape, xla::Shape());
      EXPECT_EQ(options.shape_determination_fns.layout_preference_fn(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 29 01:41:20 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt

              type: "list(shape)"
              has_minimum: true
            }
          }
          op {
            name: "Placeholder"
            output_arg {
              name: "output"
              type_attr: "dtype"
            }
            attr {
              name: "dtype"
              type: "type"
            }
            attr {
              name: "shape"
              type: "shape"
              default_value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:10:27 UTC 2017
    - 46.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/shape_inference_test.cc

      auto c = ops::Add(root.WithOpName("C"), a, b);
      auto d = ops::Neg(root.WithOpName("D"), c);
    
      a.node()->AddAttr("_index", 0);
      b.node()->AddAttr("_index", 1);
    
      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
      TF_CHECK_OK(root.ToGraph(graph.get()));
    
      std::map<int, InferredShape> arg_shapes;
      arg_shapes[0].shape = TensorShape({2, 3});
      arg_shapes[1].shape = TensorShape({2, 3});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

     protected:
      StridedArrayViewBase(ArrayRef<int64_t> shape, ArrayRef<int64_t> index,
                           int64_t axis) {
        assert(shape.size() == index.size());
        assert(axis < shape.size());
        assert(axis >= 0);
        assert(index[axis] == 0);
        offset_ = IndexToOffset(shape, index);
        stride_ = StrideForAxis(shape, axis);
        size_ = shape[axis];
      }
    
      // Returns the size of the 1-d slice across the tensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_launch_util.cc

          TensorShape shape;
          TF_RETURN_IF_ERROR(XLAShapeToTensorShape(subshape, &shape));
          output_tensor_shapes.push_back(shape);
        }
      } else {
        for (int i = 0; i < ctx->num_outputs(); ++i) {
          output_tensor_shapes.push_back(compilation_result->outputs[i].shape);
        }
      }
    
      // Copy XLA results to the OpOutputList.
      int output_num = 0;
      for (int i = 0, end = ctx->num_outputs(); i < end; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm_quantized.mlir

    // CHECK-NEXT:       shape: [ 1, 528 ],
    // CHECK-NEXT:       type: INT8,
    // CHECK-NEXT:       buffer: 1,
    // CHECK-NEXT:       name: "arg0",
    // CHECK-NEXT:       quantization: {
    // CHECK-NEXT:         scale: [ 0.037248 ],
    // CHECK-NEXT:         zero_point: [ -19 ]
    // CHECK-NEXT:       },
    // CHECK-NEXT:       has_rank: true
    // CHECK-NEXT:     }, {
    // CHECK-NEXT:       shape: [ 2048, 528 ],
    // CHECK-NEXT:       type: INT8,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/partially_decluster_pass_test.cc

      Output shape = ops::Add(s.WithOpName("shape"), shape_a, shape_b);
    
      Output reshape_input = ops::Placeholder(s.WithOpName("reshape_input"),
                                              DT_FLOAT, ops::Placeholder::Attrs{});
      Output reshape = ops::Reshape(s.WithOpName("reshape"), reshape_input, shape);
    
      AddToCluster({shape.node(), reshape.node()}, "cluster_0");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 23K bytes
    - Viewed (0)
Back to top