Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for shame (0.07 sec)

  1. src/sync/pool.go

    // A Pool must not be copied after first use.
    //
    // In the terminology of [the Go memory model], a call to Put(x) “synchronizes before”
    // a call to [Pool.Get] returning that same value x.
    // Similarly, a call to New returning x “synchronizes before”
    // a call to Get returning that same value x.
    //
    // [the Go memory model]: https://go.dev/ref/mem
    type Pool struct {
    	noCopy noCopy
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/net/http/server.go

    	case 4 << 10:
    		return &bufioWriter4kPool
    	}
    	return nil
    }
    
    // newBufioReader should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/gobwas/ws
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname newBufioReader
    func newBufioReader(r io.Reader) *bufio.Reader {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  3. src/time/format.go

    // layout and returns the text before, the std string, and the text after.
    //
    // nextStdChunk 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/go
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname nextStdChunk
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

          }
          SmallVector<int64_t, 4> result_shape = {leading_dim_v};
          ArrayRef<int64_t> shape = element_type.getShape();
          result_shape.append(shape.begin(), shape.end());
          result_type =
              tensorflow::GetTypeFromTFTensorShape(result_shape, element_dtype);
        }
    
        // Create a 1-D RankedTensorType for result's shape. Number of elements in
        // it is equal to the rank of the result, if known. Otherwise, the number of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

    // Follow the use chain of TensorList and return true iff all elements written
    // to TensorList have same static shape. If all elements have same shape, assign
    // it to `potential_element_type`.
    //
    // This can handle multiple mutations of a TensorList object and would return
    // true if across all mutations the elements written have the same shape.
    bool CanInferTensorListElementType(Value tensorlist,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let summary =
        "Replicate TensorList init ops for correct shape assignments in shape inference";
    
      let description = [{
        If we pass same TensorList to a while op as multiple arguments or just use
        the same TensorList at multiple places and assign different
        TensorListSetItem to elements of TensorList, the shape inference is then
        unable to identify the Shape of these args and thus the input TensorList
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/convert_type.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/serialize_mlir_module_utils.h"
    #include "xla/mlir_hlo/mhlo/IR/register.h"
    #include "xla/shape.h"
    #include "xla/translate/mhlo_to_hlo/type_to_shape.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    #include "tsl/platform/errors.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        if (ShapedType::isDynamic(num_index_dims)) return failure();
    
        auto updates = op.getUpdates();
    
        // Broadcast scalar `updates` in into expected shape as following shape:
        // updates.shape == indices.shape[:-1] + tensor.shape[indices.shape[-1]:]
        if (updates_ty.getRank() == 0 &&
            (std::is_same<OpTy, TF::TensorScatterUpdateOp>::value ||
             std::is_same<OpTy, TF::TensorScatterAddOp>::value)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir

      %cst = "tf.Const"() <{value = dense<1> : tensor<i32>}> {device = ""} : () -> tensor<i32>
      %0 = "tf.MultiDeviceIteratorFromStringHandle"(%arg0) <{output_shapes = [#tf_type.shape<>], output_types = [!tf_type.string]}> {device = ""} : (tensor<!tf_type.string>) -> tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top