- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for rawCopy (0.17 sec)
-
src/cmd/compile/internal/ir/mini.go
// at a cost of 8 bytes. // // A miniNode is NOT a valid Node by itself: the embedding struct // must at the least provide: // // func (n *MyNode) String() string { return fmt.Sprint(n) } // func (n *MyNode) rawCopy() Node { c := *n; return &c } // func (n *MyNode) Format(s fmt.State, verb rune) { FmtNode(n, s, verb) } // // The embedding struct should also fill in n.op in its constructor,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 31 22:09:44 UTC 2022 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py
def _composite_fully_connected(input_, filter_, bias, act): res = tf.raw_ops.MatMul( a=input_, b=filter_, transpose_a=False, transpose_b=True) res = tf.raw_ops.Add(x=res, y=bias) if act == 'RELU': return tf.raw_ops.Relu(features=res) elif act == 'RELU6': return tf.raw_ops.Relu6(features=res) elif act == 'TANH': return tf.raw_ops.Tanh(x=res) else: return res
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 31 20:23:51 UTC 2023 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py
shape = input_.shape.as_list() for i in range(len(shape)): rdims = tf.raw_ops.OneHot( indices=i, depth=len(shape), on_value=True, off_value=False, axis=-1) rarray = tf.raw_ops.Reverse(tensor=input_, dims=rdims) left_padding_size = tf.raw_ops.GatherNd(params=paddings, indices=[i, 0]) right_padding_size = tf.raw_ops.GatherNd(params=paddings, indices=[i, 1]) if mode == 'REFLECT':
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 01 05:00:29 UTC 2021 - 5.6K bytes - Viewed (0) -
pkg/test/echo/response.go
// The cluster where the server is deployed. Cluster string // IstioVersion for the Istio sidecar. IstioVersion string // IP is the requester's ip address IP string // rawBody gives a map of all key/values in the body of the response. rawBody map[string]string RequestHeaders http.Header ResponseHeaders http.Header } // Count occurrences of the given text within the body of this response.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 01 01:05:45 UTC 2022 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/README.md
def _composite_fully_connected(input_, filter_, bias, act): res = tf.raw_ops.MatMul( a=input_, b=filter_, transpose_a=False, transpose_b=True) res = tf.raw_ops.Add(x=res, y=bias) if act == 'RELU': return tf.raw_ops.Relu(features=res) elif act == 'RELU6': return tf.raw_ops.Relu6(features=res) elif act == 'TANH': return tf.raw_ops.Tanh(x=res) else: return res ```
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 29 18:32:13 UTC 2022 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/examples/pad/pad_ops_test.py
} kwargs_ = { 'input_': input_, 'paddings': paddings, 'mode': mode, } # Make sure the composition python function is correct self._assertOpAndComposite([input_], tf.raw_ops.MirrorPad, ops_defs._composite_mirror_pad, kwargs_, kwargs) # Make sure the translation and decomposition is correct self._assertOpAndComposite([input_],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 3.4K bytes - Viewed (0) -
pkg/test/echo/parse.go
if match != nil { out.IstioVersion = match[1] } match = IPFieldRegex.FindStringSubmatch(output) if match != nil { out.IP = match[1] } out.rawBody = map[string]string{} matches := requestHeaderFieldRegex.FindAllStringSubmatch(output, -1) for _, kv := range matches { sl := strings.SplitN(kv[1], ":", 2) if len(sl) != 2 { continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 23 22:25:46 UTC 2022 - 4.3K bytes - Viewed (0) -
tests/customize_field_test.go
// Make sure an ignored field does not interfere with another field's custom // column name that matches the ignored field. type CustomColumnAndIgnoredFieldClash struct { Body string `gorm:"-"` RawBody string `gorm:"column:body"` } DB.Migrator().DropTable(&CustomColumnAndIgnoredFieldClash{}) if err := DB.AutoMigrate(&CustomColumnAndIgnoredFieldClash{}); err != nil { t.Errorf("Should not raise error: %v", err)
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Fri Sep 11 09:33:31 UTC 2020 - 6.9K bytes - Viewed (0) -
RELEASE.md
* Fixes a security vulnerability caused by lack of validation in `tf.raw_ops.DataFormatVecPermute` and `tf.raw_ops.DataFormatDimMap` ([CVE-2020-26267](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26267)) * Fixes a vulnerability caused by attempting to write to immutable memory region in `tf.raw_ops.ImmutableConst` ([CVE-2020-26268](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26268)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
// safe. if (auto tensor_array_v3_op = dyn_cast<TF::TensorArrayV3Op>(tf_op)) { // The "flow" in TensorArrayV3 is always a scalar float tensor. // https://www.tensorflow.org/api_docs/python/tf/raw_ops/TensorArrayWriteV3 Value flow = tensor_array_v3_op.getFlow(); Type scalar_f32_tensor_type = RankedTensorType::get(/*shape=*/{}, rewriter.getF32Type()); flow.setType(scalar_f32_tensor_type);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0)