Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 788 for shake (0.1 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op_stablehlo.mlir

        %3 = "tf.XlaCallModule"(%2, %1, %0) <{Sout = [#tf_type.shape<?x2>], module = "", version = 9 : i64}> {_entry_function...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        merged[indices[m][i], ...] = data[m][i, ...]
    ```
    
    Each `data[i].shape` must start with the corresponding `indices[i].shape`,
    and the rest of `data[i].shape` must be constant w.r.t. `i`.  That is, we
    must have `data[i].shape = indices[i].shape + constant`.  In terms of this
    `constant`, the output shape is
    
        merged.shape = [max(indices) + 1] + constant
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/import_json.json

        }
      ],
      "subgraphs": [
        {
          "tensors": [
            {
              "shape": [
                256,
                32,
                32,
                3
              ],
              "name": "arg0",
              "quantization": {
              }
            },
            {
              "shape": [
                16,
                3,
                3,
                3
              ],
              "name": "arg1",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_device_compiler_client.cc

    #include "xla/client/local_client.h"
    
    namespace tensorflow {
    namespace {
    std::vector<const xla::Shape*> GetShapePointers(
        absl::Span<const xla::Shape> shapes) {
      std::vector<const xla::Shape*> shape_ptrs;
      shape_ptrs.reserve(shapes.size());
      for (const auto& shape : shapes) {
        shape_ptrs.push_back(&shape);
      }
      return shape_ptrs;
    }
    }  // namespace
    
    absl::StatusOr<std::unique_ptr<xla::LocalExecutable>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

        }
    
        if (!node_shapes.empty()) {
          if (!node_shapes[i].has_value()) {
            info.shape.set_unknown_rank(true);
            continue;
          }
          for (auto& dim : node_shapes[i].value()) {
            info.shape.add_dim()->set_size(dim);
          }
        }
      }
      return absl::OkStatus();
    }
    
    Status ParseNodeShapes(
        absl::string_view shapes_str,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/net/http/clone.go

    	"mime/multipart"
    	"net/textproto"
    	"net/url"
    	_ "unsafe" // for linkname
    )
    
    // cloneURLValues should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/searKing/golang
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname cloneURLValues
    func cloneURLValues(v url.Values) url.Values {
    	if v == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

          auto layout = GetTPUInfeedLayout({t}, rewriter);
          if (failed(layout)) return failure();
          v.push_back(layout.value());
        }
        ArrayRef<Attribute> shape(v);
        return rewriter.getArrayAttr(shape);
      } else if (mlir::isa<TupleType>(types[0])) {
        auto tuple_type = mlir::dyn_cast<TupleType>(types[0]);
        const auto &types = tuple_type.getTypes();
        llvm::SmallVector<mlir::Attribute> v;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h

        // Scalar identity is broadcastable to any operand shape, we only need to
        // check that operand has the same shape as a result.
        bool scalar_identity = identity_ty.hasRank() && identity_ty.getRank() == 0;
        if (scalar_identity) return operand_ty == result_ty;
    
        // If identity is not a scalar, we must verify that identity shape is
        // statically known to be broadcastable to the operand shape and the operand
        // and result shape are equal.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/impl/tensor_spec_test.cc

    TEST(TensorSpecTest, TestSupportsAbslHash) {
      tensorflow::PartialTensorShape unknown_shape;
      TensorSpec ts1;
      ts1.shape = unknown_shape;
      ts1.dtype = tensorflow::DT_FLOAT;
    
      TensorSpec ts2;
      ts2.shape = tensorflow::PartialTensorShape({2});
      ts2.dtype = tensorflow::DT_FLOAT;
    
      TensorSpec ts3;
      ts3.shape = tensorflow::PartialTensorShape({1, 2});
      ts3.dtype = tensorflow::DT_FLOAT;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 09:47:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc

      auto matmul_op = llvm::dyn_cast<TF::BatchMatMulV2Op>(op);
      if (!matmul_op) return failure();
    
      // Gets the broadcasted output shape for tf.BatchMatMulV2Op. `shape_x` is the
      // shape of op's first/left-hand-side operand and `shape_y` is the shape of
      // op's second/right-hand-side operand.
      const auto get_broadcasted_shape =
          [&](ArrayRef<int64_t> shape_x, ArrayRef<int64_t> shape_y,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top