- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for shake (0.07 sec)
-
src/runtime/proc.go
runnext := atomic.Loaduintptr((*uintptr)(unsafe.Pointer(&pp.runnext))) if tail == atomic.Load(&pp.runqtail) { return head == tail && runnext == 0 } } } // To shake out latent assumptions about scheduling order, // we introduce some randomness into scheduling decisions // when running with the race detector. // The need for this was made obvious by changing the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
} SmallVector<int64_t> shape; bool refined_shape = false; // Build the shape of the refined type, if lhs is unranked it // will be directly the shape of the refined type, otherwise we merged by // taking the most specialized. This combines `10x?x?` and `?x?x8` into // `10x?x8`. if (!lhs_shape_type.hasRank()) { if (rhs_shape_type.hasRank()) { shape.append(rhs_shape_type.getShape().begin(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// 'shape' is the original shape with padding to match result shape. int64_t GetElementIndex(const std::vector<int64_t>& shape, const std::vector<int64_t>& current_index) { int64_t ind = 0; int64_t mul = 1; for (int i = shape.size() - 1; i >= 0; --i) { ind += (current_index[i] % shape[i]) * mul; mul *= shape[i]; } return ind; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
} // This assumes that the bias is of shape NxCx1x1 and doesn't require transpose // Its corresponding constraint is optimize_patterns.td:IsBiasShape() ElementsAttr ReshapeNCHWBiasToNHWC(Value v, Attribute a) { auto elements = mlir::cast<DenseElementsAttr>(a); auto shape = mlir::cast<ShapedType>(v.getType()).getShape(); if (shape.size() != 4 || shape[2] != 1 || shape[3] != 1) return elements;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
// // For example, // // %shape = tf.Shape(%arg) // %arg: tensor<?x2x3x1xf32> // %height = tf.StridedSlice(%shape, 1, 2, 1) // // In this case %height can be replaced with a constant 2. // // Or, // // %shape = tf.Shape(%arg) // %arg: tensor<?x2x3x1xf32> // %spatial_shape = tf.StridedSlice(%shape, 1, 3, 1) //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir
f._tf_data_function = true, output_shapes = [#tf_type.shape<64>, #tf_type.shape<69>, #tf_type.shape<73>, #tf_type.shape<12>, #tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<>, #tf_type.shape<64>, #tf_type.shape<64>, #tf_type.shape<>, #tf_type.shape<>], output_types = [i32, i32, i32, i64, i32, i32, f32, i64, i32, i32, i32, f32], preserve_cardinality = false,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 17:24:10 UTC 2024 - 167.4K bytes - Viewed (0) -
tensorflow/c/c_api.cc
} // Create an empty tensor of type 'dtype'. 'shape' can be arbitrary, but has to // result in a zero-sized tensor. static TF_Tensor* EmptyTensor(TF_DataType dtype, const tensorflow::TensorShape& shape) { static char empty; int64_t nelems = 1; std::vector<int64_t> dims; dims.reserve(shape.dims()); for (int i = 0; i < shape.dims(); ++i) { dims.push_back(shape.dim_size(i));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
return mlir::UnrankedTensorType::get( mlir::TF::ResourceType::get(builder.getContext())); } } else if (auto shape = node.attrs().Find("_output_shapes")) { if (shape->has_list() && shape->list().shape_size() == 1) { return ConvertToMlirTensorType(shape->list().shape().at(0), dtype, &builder); } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
if (!type || !type.hasRank()) return {}; // If shape attribute equals input operand's type's shape, fold it to input. std::optional<llvm::ArrayRef<int64_t>> shape_constraint = getShape(); if (type.getShape() == shape_constraint && getInput().getType() == getType()) return getInput(); // If input operand's type's shape always satisfies the shape attribute, fold // it to input.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
# Checks that each variable's name and shape match. self.assertEqual(len(variable_node_defs), len(var_name_and_shapes)) for var_name, shape in var_name_and_shapes: self.assertIn(var_name, variable_node_defs) self.assertEqual( shape, tensor_shape.TensorShape( variable_node_defs[var_name].attr['shape'].shape ), )
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0)