Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 242 for get_attr (0.13 sec)

  1. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

          grad, axis=reduction_axes, keepdims=True)
      bias_grad = tf.reshape(updates_grad_reshaped, input_value_shape)
    
      dilations = [1, op.get_attr('dilation_w'), op.get_attr('dilation_h'), 1]
      strides = [1, op.get_attr('stride_w'), op.get_attr('stride_h'), 1]
      padding = op.get_attr('padding')
      shape_0, shape_1 = tf.shape_n([op.inputs[0], op.inputs[1]])
      return [
          tf.compat.v1.nn.conv2d_backprop_input(
              shape_0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py

        input_ = tf.raw_ops.Concat(
            concat_dim=i, values=[left_padding, input_, right_padding])
      return input_
    
    
    @tf.RegisterGradient('NewMirrorPad')
    def _mirror_pad_grad(op, grad):
      mode = op.get_attr('mode')
      return [gen_array_ops.mirror_pad_grad(grad, op.inputs[1], mode=mode), None]
    
    
    @Composite(
        'NewMirrorPadGrad',
        inputs=['input_: T', 'paddings: Tpaddings'],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 01 05:00:29 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

        graph = ops.get_default_graph()
        for op in graph.get_operations():
          if op.type == '_Retval':
            expected_node_name = op.name
            if op.get_attr('tf_saved_model.index_path') is not None:
              index_path_name = op.get_attr('tf_saved_model.index_path')[0]
              index_path_name = index_path_name.decode('utf-8').split(':')[0]
              try:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    	}
    	return destp
    }
    
    //sys	getxattr(path string, attr string, dest *byte, size int, position uint32, options int) (sz int, err error)
    
    func Getxattr(path string, attr string, dest []byte) (sz int, err error) {
    	return getxattr(path, attr, xattrPointer(dest), len(dest), 0, 0)
    }
    
    func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.go

    func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
    	d := initxattrdest(dest, 0)
    	destsize := len(dest)
    
    	nsid, a, err := xattrnamespace(attr)
    	if err != nil {
    		return -1, err
    	}
    
    	return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
    }
    
    func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s

    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_GetxattrAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Getxattr(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_NanosleepAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Nanosleep(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_SetxattrAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Setxattr(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_Wait4Addr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Wait4(SB), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/resources/extractor/test_attr.html

    Shinsuke Sugaya <******@****.***> 1444529815 +0900
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 308 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

        flexbuffers::Builder* builder) {
      auto int_attr = mlir::dyn_cast_or_null<IntegerAttr>(attrs.get(attribute));
      if (!int_attr) {
        return func.emitError()
               << attribute.c_str() << " attribute is not set or not an integer";
      }
      builder->Int(attribute.c_str(), int_attr.getInt());
      return success();
    }
    
    LogicalResult ConvertSSDPostProcessFunc::AddFloatAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

      static bool AllowDynamicRangeQuantizedOperand(
          Operation* quantized_op, const CustomMap& custom_op_map) {
        auto call_op = cast<TF::PartitionedCallOp>(quantized_op);
        StringRef function_name =
            call_op.getFAttr().cast<FlatSymbolRefAttr>().getValue();
        // The below can be generalized as there are more read-only ops added such
        // as slice.
        const bool is_gather = function_name.contains("gather");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

        float max_percentile;
        OP_REQUIRES_OK(context, context->GetAttr("calibration_method",
                                                 &calibration_method_value));
        OP_REQUIRES_OK(context, context->GetAttr("num_bins", &num_bins));
        OP_REQUIRES_OK(context,
                       context->GetAttr("min_percentile", &min_percentile));
        OP_REQUIRES_OK(context,
                       context->GetAttr("max_percentile", &max_percentile));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top