Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 127 for as_str (0.18 sec)

  1. tensorflow/c/experimental/gradients/math_grad.cc

        std::string name = "Conj_Exp_Grad";
        TF_RETURN_IF_ERROR(SafeConj(ctx, exp_.get(), &conj_output, name.c_str()));
        AbstractTensorHandlePtr conj_output_releaser(conj_output);
    
        name = "Mul_Exp_Grad";
        TF_RETURN_IF_ERROR(
            Mul(ctx, conj_output, grad_outputs[0], &grad_inputs[0], name.c_str()));
        return absl::OkStatus();
      }
      ~ExpGradientFunction() override {}
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/python/op_reg_gen.py

          cxx_reg_code.append('.Input("{}")'.format(input_))
        for attr in attrs:
          py_str = attr.replace('"', "'")
          cxx_reg_code.append('.Attr("{}")'.format(py_str))
        for attr in all_dec_args.get('derived_attrs', []):
          py_str = attr.replace('"', "'")
          cxx_reg_code.append('.Attr("{}")'.format(py_str))
        for output_ in all_dec_args.get('outputs', []):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc

        Operation* op = *iter;
        std::string pos_str;
        if (node_idx == 0) {
          pos_str = "source";
        } else if (node_idx + 1 == path.size()) {
          pos_str = "target";
        } else {
          pos_str = "intermediate";
        }
        EmitDependencyWarningForOp(op, path_idx, node_idx++, pos_str);
      }
    }
    
    void CheckControlDependenciesForFunc(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/convert_control_to_data_outputs.mlir

        // CHECK: [[exe:%.*]] = tf_executor.island({{.*}}) wraps "tf.TPUExecuteAndUpdateVariables"
        %exe_control = tf_executor.island wraps "tf.TPUExecuteAndUpdateVariables"(%arg0, %arg0, %key) {
            device_var_reads_indices = [0, 1],
            device_var_updates_indices = [0, 1],
            device = "task:0"
        } : (!tf_res, !tf_res, !tf_str) -> ()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 18:35:00 UTC 2024
    - 68.9K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/p256_asm_arm64.s

    	MOVD	res+0(FP), res_ptr
    	MOVD	in+8(FP), a_ptr
    
    	MOVD	p256const0<>(SB), const0
    	MOVD	p256const1<>(SB), const1
    
    	// Begin point double
    	LDP	4*16(a_ptr), (x0, x1)
    	LDP	5*16(a_ptr), (x2, x3)
    	CALL	p256SqrInternal<>(SB)
    	STP	(y0, y1), zsqr(0*8)
    	STP	(y2, y3), zsqr(2*8)
    
    	LDP	0*16(a_ptr), (x0, x1)
    	LDP	1*16(a_ptr), (x2, x3)
    	p256AddInline
    	STx(m)
    
    	LDx(z1in)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  6. src/internal/bytealg/index_ppc64x.s

    	// R17=index value 17
    	// R18=index value 18
    	// R19=index value 1
    	// R26=LASTBYTE of string
    	// R27=LASTSTR last start byte to compare with sep
    	// R8, R9 scratch
    	// V0=sep left justified zero fill
    	// CR4=sep length >= 16
    
    #define SEPMASK V17
    #define LASTBYTE R26
    #define LASTSTR R27
    #define ONES V20
    #define SWAP V21
    #define SWAP_ VS53
    TEXT indexbody<>(SB), NOSPLIT|NOFRAME, $0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 31.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/schema/flatbuffer_compatibility_test.cc

      include_directories.push_back(local_include_directory.c_str());
      include_directories.push_back(nullptr);
      if (!parser->Parse(contents.c_str(), include_directories.data(),
                         filename.c_str())) {
        fprintf(stderr, "Failed to parse flatbuffer schema '%s'\n",
                contents.c_str());
        return false;
      }
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modget/query.go

    	if e.mPath != pq.pattern {
    		modDetail = fmt.Sprintf("for module %s, ", e.mPath)
    	}
    
    	return fmt.Sprintf("%s%s conflicts with %s",
    		modDetail,
    		argStr(pq, e.proposed.version),
    		argStr(rq, e.conflict.version))
    }
    
    func versionOkForMainModule(version string) bool {
    	return version == "upgrade" || version == "patch"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 15:48:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  9. tensorflow/cc/saved_model/experimental/public/saved_model_api.h

            TF_LoadSavedModel(saved_model_path.c_str(), runtime.GetTFEContext(),
                              status->GetTFStatus());
      } else {
        std::vector<const char*> tags_vector;
        tags_vector.reserve(tags->size());
        for (const std::string& tag : *tags) {
          tags_vector.push_back(tag.c_str());
        }
        saved_model = TF_LoadSavedModelWithTags(
            saved_model_path.c_str(), runtime.GetTFEContext(), tags_vector.data(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

      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)
Back to top