Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for shade (0.04 sec)

  1. src/runtime/mgcmark.go

    		obj := span.base() + idx*span.elemsize
    		greyobject(obj, b, i, span, gcw, idx)
    	}
    }
    
    // Shade the object if it isn't already.
    // The object is not nil and known to be in the heap.
    // Preemption must be disabled.
    //
    //go:nowritebarrier
    func shade(b uintptr) {
    	if obj, span, objIndex := findObject(b, 0, 0); obj != 0 {
    		gcw := &getg().m.p.ptr().gcw
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    // drive GC to completion.
    //
    // It is explicitly okay to have write barriers in this function. If
    // it does transition to mark termination, then all reachable objects
    // have been marked, so the write barrier cannot shade any more
    // objects.
    func gcMarkDone() {
    	// Ensure only one thread is running the ragged barrier at a
    	// time.
    	semacquire(&work.markDoneSema)
    
    top:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      // tail of the other operand and the intermediate result isn't used by other
      // ops.
      // $rhs is required to be the tail shape of $lhs, so after transformation the
      // shape of the binary op result is valid. For example, assume the shapes of
      // $input, $lhs and $rhs are [1600], [1,40,40] and [40x1]. After the
      // transformation, the shape of the binary op result is [40x1600], which
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

      auto ranked_ty = mlir::dyn_cast<RankedTensorType>(ty);
    
      // Unranked type.
      if (!ranked_ty) return ty;
    
      auto shape = llvm::to_vector<4>(ranked_ty.getShape());
      if (axis < 0) axis += ranked_ty.getRank() + 1;
    
      shape.insert(shape.begin() + axis, 1);
      return tensorflow::GetTypeFromTFTensorShape(shape,
                                                  ranked_ty.getElementType());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K 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/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

      %4 = shape.shape_of %3 : tensor<?x28x28x16xf32> -> tensor<4xindex>
      %5 = stablehlo.dynamic_broadcast_in_dim %1, %4, dims = [3] : (tensor<16xf32>, tensor<4xindex>) -> tensor<?x28x28x16xf32>
      %6 = stablehlo.add %3, %5 : tensor<?x28x28x16xf32>
      %7 = shape.shape_of %6 : tensor<?x28x28x16xf32> -> tensor<4xindex>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    shared_name: the name by which this variable is referred to.
    dtype and shape: attributes representing the data type and shape held in the
      variable.
    
    Example:
        resource_variable_ops.var_handle_op(
              dtype=dtypes.int32, shape=[8, 16], container="foo", shared_name="bar")
      returns a handle for a variable with name "bar" in container "foo", and the
      variable holds a tensor of shape [8, 16] and dtype int32.
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

              rewriter.getI32IntegerAttr(ConvertToTfliteSize(size));
        }
        auto shape_attr = DenseElementsAttr::get(shape_type, result_shape_data);
        auto shape = rewriter.create<TF::ConstOp>(loc, shape_type, shape_attr);
    
        return rewriter.create<TF::ReshapeOp>(loc, result_type, filter, shape);
      }
    };
    
    // StridedSlice can have complicated attributes like begin_axis_mask,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        /**
         * Retrieves the share associated with this SMB resource. In
         * the case of <code>smb://</code>, <code>smb://workgroup/</code>,
         * and <code>smb://server/</code> URLs which do not specify a share,
         * <code>null</code> will be returned.
         *
         * @return The share component or <code>null</code> if there is no share
         */
        public String getShare () {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  10. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

    _lower_using_switch_merge = true, _num_original_outputs = 6 : i64, _read_only_resource_inputs = [], body = @map_while_body_180, cond = @map_while_cond_170, device = "", is_stateless = true, output_shapes = [#tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<?>], parallel_iterations = 4 : i64, shape_invariant} : (tensor<i32>, tensor<i32>, tensor<i32>, tensor<!tf_type.variant<tensor<*xf32>>>, tensor<*x!tf_type.variant>, tensor<?xf32>) -> (tensor<i32>, tensor<i32>,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
Back to top